]> https://gitweb.dealii.org/ - dealii.git/commitdiff
misunderstood the purpose of component_to_base_table
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 30 Mar 2006 14:33:15 +0000 (14:33 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 30 Mar 2006 14:33:15 +0000 (14:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@12772 0785d39b-7218-0410-832d-ea1e28bc413d

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

index ffd48cefae880f50b1787d0e8aef2db38f6d0841..5bde2b70ebf4e31cda0d2d0b45c134e90d4f3a57 100644 (file)
@@ -995,7 +995,7 @@ FESystem<dim>::build_cell_tables()
     for (unsigned int m = 0; m < element_multiplicity(base); ++m)
       for (unsigned int k=0; k<base_element(base).n_components(); ++k)
        this->component_to_base_table[total_index++]
-         = std::make_pair(base,k+m*base_element(base).n_components());
+         = std::make_pair(base,k);
   Assert (total_index == this->component_to_base_table.size(),
          ExcInternalError());
 

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.