]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix has_support_on_face for non-primitive elements.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2002 14:58:16 +0000 (14:58 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2002 14:58:16 +0000 (14:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@6716 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 5c62750b3f95cfc59893fb2351b27f195ab9424a..0757665a42aebd76c2e7440f7346e2ad9046b5d5 100644 (file)
@@ -2222,11 +2222,9 @@ bool
 FESystem<dim>::has_support_on_face (const unsigned int shape_index,
                                    const unsigned int face_index) const
 {
-  const std::pair<unsigned int, unsigned int> 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));
 }
 
 

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.