]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid face_to_equivalent_cell_index
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Dec 2012 17:59:25 +0000 (17:59 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Dec 2012 17:59:25 +0000 (17:59 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_deprecated@27812 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/fe/fe.h
deal.II/include/deal.II/numerics/vector_tools.templates.h

index 6c018ffbe3ae4afc22f10b6f796e05c3bd01b90f..70565a9095cfa0cd387697c232b381c4032be19e 100644 (file)
@@ -2875,7 +2875,7 @@ FiniteElement<dim,spacedim>::face_system_to_component_index (const unsigned int
   //
   // in 1d, the face index is equal
   // to the cell index
-  Assert (is_primitive(this->face_to_equivalent_cell_index(index)),
+  Assert (is_primitive(this->face_to_cell_index(0, index)),
           (typename FiniteElement<dim,spacedim>::ExcShapeFunctionNotPrimitive(index)) );
 
   return face_system_to_component_table[index];
index cb91da685c08e11242fca782d3768914910d7ac7..fad52b0d39113e84669abebd383690878ac21154 100644 (file)
@@ -1688,7 +1688,7 @@ namespace VectorTools
               std::vector<Point<dim-1> > unit_support_points (fe.dofs_per_face);
 
               for (unsigned int i=0; i<fe.dofs_per_face; ++i)
-                if (fe.is_primitive (fe.face_to_equivalent_cell_index(i)))
+                if (fe.is_primitive (fe.face_to_cell_index(0,i)))
                   if (component_mask[fe.face_system_to_component_index(i).first]
                       == true)
                     unit_support_points[i] = fe.unit_face_support_point(i);

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.