From: wolf Date: Tue, 20 Apr 1999 15:11:30 +0000 (+0000) Subject: Fix another bug with multplicities of base elements. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6111fcdc243b9f710d2003746ab042f76e17b37e;p=dealii-svn.git Fix another bug with multplicities of base elements. git-svn-id: https://svn.dealii.org/trunk@1194 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 2c1c635395..e5fb7b1541 100644 --- a/deal.II/deal.II/source/fe/fe_system.cc +++ b/deal.II/deal.II/source/fe/fe_system.cc @@ -332,14 +332,14 @@ void FESystem::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; };