From: wolf Date: Fri, 17 May 2002 10:03:07 +0000 (+0000) Subject: Fix: When we have a base element with more than one component (e.g. a X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd969539cee1492974b3ec4555da26db001bdac;p=dealii-svn.git Fix: When we have a base element with more than one component (e.g. a FESystem itself as a base element), then make sure we iterate over its components when setting up the cell table. git-svn-id: https://svn.dealii.org/trunk@5851 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_system.cc b/deal.II/deal.II/source/fe/fe_system.cc index ec9bb7ea96..0416090160 100644 --- a/deal.II/deal.II/source/fe/fe_system.cc +++ b/deal.II/deal.II/source/fe/fe_system.cc @@ -662,7 +662,8 @@ FESystem::build_cell_table() unsigned total_index = 0; for (unsigned int base=0 ; base < n_base_elements() ; ++base) for (unsigned int m = 0; m < element_multiplicity(base); ++m) - component_to_base_table[total_index++] = base; + for (unsigned int k=0; k