]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove `static' from to local variables, since it confuses some compilers. This shoul...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 Feb 2000 14:04:25 +0000 (14:04 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 Feb 2000 14:04:25 +0000 (14:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@2427 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/geometry_info.h

index f79fc7993e0d6670f4abf4affcbc167860f87716..a69159cccc637adb2390dccb707dfe5aca2ec205 100644 (file)
@@ -193,10 +193,10 @@ GeometryInfo<2>::child_cell_on_face (const unsigned int face,
   Assert (face<faces_per_cell, ExcIndexRange(face, 0, faces_per_cell));
   Assert (subface<subfaces_per_face, ExcIndexRange(subface, 0, subfaces_per_face));
   
-  static const unsigned subcells[faces_per_cell][subfaces_per_face] = {{0,1},
-                                                                      {1,2},
-                                                                      {3,2},
-                                                                      {0,3}};
+  const unsigned subcells[faces_per_cell][subfaces_per_face] = {{0,1},
+                                                               {1,2},
+                                                               {3,2},
+                                                               {0,3}};
   return subcells[face][subface];
 };
 
@@ -209,12 +209,12 @@ unsigned int GeometryInfo<3>::child_cell_on_face (const unsigned int face,
   Assert (face<faces_per_cell, ExcIndexRange(face, 0, faces_per_cell));
   Assert (subface<subfaces_per_face, ExcIndexRange(subface, 0, subfaces_per_face));
   
-  static const unsigned subcells[faces_per_cell][subfaces_per_face] = {{0, 1, 2, 3},
-                                                                      {4, 5, 6, 7},
-                                                                      {0, 1, 5, 4},
-                                                                      {1, 5, 6, 2},
-                                                                      {3, 2, 6, 7},
-                                                                      {0, 4, 7, 3}};
+  const unsigned subcells[faces_per_cell][subfaces_per_face] = {{0, 1, 2, 3},
+                                                               {4, 5, 6, 7},
+                                                               {0, 1, 5, 4},
+                                                               {1, 5, 6, 2},
+                                                               {3, 2, 6, 7},
+                                                               {0, 4, 7, 3}};
   return subcells[face][subface];
 };
 

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.