From: Wolfgang Bangerth Date: Wed, 22 Jul 1998 07:48:05 +0000 (+0000) Subject: Make numbering of lines in create_triangulation a bit more intuitive. X-Git-Tag: v8.0.0~22803 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e12b9d4c644bccf4857b9e1ff5366a65fed2a652;p=dealii.git Make numbering of lines in create_triangulation a bit more intuitive. git-svn-id: https://svn.dealii.org/trunk@451 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/tria.cc b/deal.II/deal.II/source/grid/tria.cc index ff8cbb8221..5b9eba2378 100644 --- a/deal.II/deal.II/source/grid/tria.cc +++ b/deal.II/deal.II/source/grid/tria.cc @@ -303,8 +303,8 @@ void Triangulation<2>::create_triangulation (const vector > &v, pair 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,