]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Change order of vertices in the hypercube code. Before, the cube was
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Feb 1999 09:38:43 +0000 (09:38 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Feb 1999 09:38:43 +0000 (09:38 +0000)
inverted, which is not what we usually want.

git-svn-id: https://svn.dealii.org/trunk@829 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria.cc

index 4d3315537aedea7db4bd090582702d27be02d7de..4b6e4b3d2d9b628ee4170b3c1843170be36e2efc 100644 (file)
@@ -1198,10 +1198,11 @@ void Triangulation<3>::create_hypercube (const double left,
 
   const Point<3> vertices[8] = { Point<3>(left,left,left),
                                 Point<3>(right,left,left),
-                                Point<3>(right,right,left),
-                                Point<3>(left,right,left),
-                                Point<3>(left,left,right),
                                 Point<3>(right,left,right),
+                                Point<3>(left,left,right),
+
+                                Point<3>(left,right,left),                              
+                                Point<3>(right,right,left),
                                 Point<3>(right,right,right),
                                 Point<3>(left,right,right)};
   const int cell_vertices[1][8] = { { 0,1,2,3,4,5,6,7 } };

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.