]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use opposite_faces provided by GeometryInfo.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Mon, 31 Oct 2005 12:55:38 +0000 (12:55 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Mon, 31 Oct 2005 12:55:38 +0000 (12:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@11670 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_raviart_thomas.cc

index e8c05130429746fcab39f89d4655dd778f8bcb3f..c7fea866b79c6484b160078e62c5f3e41d7a9ea9 100644 (file)
@@ -449,11 +449,7 @@ FE_RaviartThomas<dim>::has_support_on_face (const unsigned int shape_index,
                                                // are the values
                                                // actually zero. list
                                                // these in a table
-              const unsigned int
-                opposite_faces[GeometryInfo<2>::faces_per_cell]
-                = { 2, 3, 0, 1};
-              
-              return (face_index != opposite_faces[shape_index]);
+              return (face_index != GeometryInfo<dim>::opposite_faces[shape_index]);
             }
             
             default:

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.