]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a stupid thinko.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 1 Oct 2003 16:08:14 +0000 (16:08 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 1 Oct 2003 16:08:14 +0000 (16:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@8081 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/mapping_q1.cc

index 4980e301fc08786d42382c427e9b4208fc07f74a..92fb98e3b304b01bc02cc69681190863b839be18 100644 (file)
@@ -95,13 +95,13 @@ namespace internal
       {
         case 1:
         case 2:
-              return ((face_no * GeometryInfo<dim>::faces_per_cell +
+              return ((face_no * GeometryInfo<dim>::subfaces_per_face +
                        subface_no)
                       * n_quadrature_points);
 
                                                // for 3d, same as above:
         case 3:
-              return (((face_no * GeometryInfo<dim>::faces_per_cell +
+              return (((face_no * GeometryInfo<dim>::subfaces_per_face +
                         subface_no)
                        + (cell->get_face_orientation(face_no) == true ?
                           0 :

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.