]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix another bug with multplicities of base elements.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 20 Apr 1999 15:11:30 +0000 (15:11 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 20 Apr 1999 15:11:30 +0000 (15:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@1194 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 2c1c63539557c28bbd437a2a5d777e2f0b04ec5e..e5fb7b154155b62494399cbf9aca33438d6b0bdd 100644 (file)
@@ -332,14 +332,14 @@ void FESystem<dim>::build_interface_constraints ()
                  m_index.second = (system_to_component_index
                                    (GeometryInfo<2>::vertices_per_cell * dofs_per_vertex
                                     + index_in_line).second
-                                   - base_element (m_index.first).first_line_index)
+                                   - base_element (component_to_base_table[m_index.first]).first_line_index)
                                                   // then add the number of dofs
                                                   // per vertex to get the index
                                                   // on the first line
-                                  + base_element(m_index.first).dofs_per_vertex
+                                  + base_element(component_to_base_table[m_index.first]).dofs_per_vertex
                                                   // if on the second line: add
                                                   // some more
-                                  + base_element(m_index.first).dofs_per_line * sub_line;
+                                  + base_element(component_to_base_table[m_index.first]).dofs_per_line * sub_line;
                };
              break;
            };

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.