From 42b8076118c471d8b806899f2fd963551b96e73a Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 17 Feb 1999 09:38:43 +0000 Subject: [PATCH] Change order of vertices in the hypercube code. Before, the cube was 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/source/grid/tria.cc b/deal.II/deal.II/source/grid/tria.cc index 4d3315537a..4b6e4b3d2d 100644 --- a/deal.II/deal.II/source/grid/tria.cc +++ b/deal.II/deal.II/source/grid/tria.cc @@ -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 } }; -- 2.39.5