]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add missing initialization of first_block_of_base_table
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 28 Mar 2006 13:33:20 +0000 (13:33 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 28 Mar 2006 13:33:20 +0000 (13:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@12713 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_system.cc

index 9557e6df3aa5ea2fc263ad4c464e3434be5cb750..0c862020d942ec037a0002b0cd9b74fd104d89e8 100644 (file)
@@ -175,6 +175,7 @@ FESystem<dim>::FESystem (const FiniteElement<dim> &fe1,
   base_elements[0].first->subscribe (typeid(*this).name());
   base_elements[1] = ElementPair(fe2.clone(), n2);
   base_elements[1].first->subscribe (typeid(*this).name());
+  this->first_block_of_base_table.push_back(n1);
   initialize ();
 }
 
@@ -204,6 +205,8 @@ FESystem<dim>::FESystem (const FiniteElement<dim> &fe1,
   base_elements[1].first->subscribe (typeid(*this).name());
   base_elements[2] = ElementPair(fe3.clone(), n3);
   base_elements[2].first->subscribe (typeid(*this).name());
+  this->first_block_of_base_table.push_back(n1);
+  this->first_block_of_base_table.push_back(n2);
   initialize ();
 }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.