From ebd969539cee1492974b3ec4555da26db001bdac Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 17 May 2002 10:03:07 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/source/fe/fe_system.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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