]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change ordering of vertices. We can now switch back to use the create_triangulation...
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Wed, 21 Dec 2005 08:46:52 +0000 (08:46 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Wed, 21 Dec 2005 08:46:52 +0000 (08:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@11904 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-14/step-14.cc

index ded31614560060b854157453a910562173889171..7acff59ef1143f7ed87aae06f88f9d2ec962209d 100644 (file)
@@ -1661,18 +1661,18 @@ namespace Data
                                     // open and let it be computed
                                     // afterwards:
     static const int cell_vertices[][GeometryInfo<dim>::vertices_per_cell]
-      = {{0, 1, 6,5},
-        {1, 2, 7, 6},
-        {2, 3, 8, 7},
-        {3, 4, 9, 8},
-        {5, 6, 11, 10},
-        {8, 9, 13, 12},
-        {10, 11, 15, 14},
-        {12, 13, 18, 17},
-        {14, 15, 20, 19},
-        {15, 16, 21, 20},
-        {16, 17, 22, 21},
-        {17, 18, 23, 22}};
+      = {{0, 1, 5, 6},
+        {1, 2, 6, 7},
+        {2, 3, 7, 8},
+        {3, 4, 8, 9},
+        {5, 6, 10, 11},
+        {8, 9, 12, 13},
+        {10, 11, 14, 15},
+        {12, 13, 17, 18},
+        {14, 15, 19, 20},
+        {15, 16, 20, 21},
+        {16, 17, 21, 22},
+        {17, 18, 22, 23}};
     const unsigned int
       n_cells = sizeof(cell_vertices) / sizeof(cell_vertices[0]);
 
@@ -1703,7 +1703,7 @@ namespace Data
                                     // triangulation to the library,
                                     // but we don't want that here,
                                     // so we give an empty object:
-    coarse_grid.create_triangulation_compatibility (vertices,
+    coarse_grid.create_triangulation (vertices,
                                                    cells,
                                                    SubCellData());
     

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.