From: wolf Date: Tue, 22 Oct 2002 14:58:16 +0000 (+0000) Subject: Fix has_support_on_face for non-primitive elements. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3694b73b23cd7a7f84e42c99d2264879c1ddf9f;p=dealii-svn.git Fix has_support_on_face for non-primitive elements. git-svn-id: https://svn.dealii.org/trunk@6716 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 5c62750b3f..0757665a42 100644 --- a/deal.II/deal.II/source/fe/fe_system.cc +++ b/deal.II/deal.II/source/fe/fe_system.cc @@ -2222,11 +2222,9 @@ bool FESystem::has_support_on_face (const unsigned int shape_index, const unsigned int face_index) const { - const std::pair component - = this->system_to_component_index(shape_index); - const unsigned int base = this->component_to_base(component.first).first; - return base_element(base).has_support_on_face(component.second, - face_index); + return (base_element(system_to_base_index(shape_index).first.first) + .has_support_on_face(system_to_base_index(shape_index).second, + face_index)); }