From: Wolfgang Bangerth 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-Tag: v8.0.0~18024 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9044cd884c1a8511b21d9054a7bcb6ca8de08a5b;p=dealii.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