]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make numbering of lines in create_triangulation a bit more intuitive.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Jul 1998 07:48:05 +0000 (07:48 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Jul 1998 07:48:05 +0000 (07:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@451 0785d39b-7218-0410-832d-ea1e28bc413d

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

index ff8cbb822134174efba3270766c0f37729d553da..5b9eba23788941ac4e142f5f588405b36227d750 100644 (file)
@@ -303,8 +303,8 @@ void Triangulation<2>::create_triangulation (const vector<Point<2> >    &v,
       pair<int,int> line_vertices[4] = {   // note the order of the vertices
            make_pair (cells[cell].vertices[0], cells[cell].vertices[1]),
            make_pair (cells[cell].vertices[1], cells[cell].vertices[2]),
-           make_pair (cells[cell].vertices[0], cells[cell].vertices[3]),
-           make_pair (cells[cell].vertices[3], cells[cell].vertices[2])};
+           make_pair (cells[cell].vertices[3], cells[cell].vertices[2]),
+           make_pair (cells[cell].vertices[0], cells[cell].vertices[3])};
 
                                       // note the following: if the sense
                                       // of the vertices of a cell is correct,

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.