From: David Wells Date: Sat, 7 May 2016 22:21:34 +0000 (-0400) Subject: Make a test start with a valid triangulation. X-Git-Tag: v8.5.0-rc1~1050^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2578%2Fhead;p=dealii.git Make a test start with a valid triangulation. The goal of this test is to verify that an exception is thrown when the mapped cell is distorted: the original triangulation should be valid. --- diff --git a/tests/bits/distorted_mapped_cells_01.cc b/tests/bits/distorted_mapped_cells_01.cc index 6f88b392cd..6429150f2d 100644 --- a/tests/bits/distorted_mapped_cells_01.cc +++ b/tests/bits/distorted_mapped_cells_01.cc @@ -33,6 +33,14 @@ void test() // through MappingQEulerian Triangulation tria; std::vector > points (4); + points[0][0] = 0.0; + points[0][1] = 0.0; + points[1][0] = 0.01; + points[1][1] = 0.0; + points[2][0] = 0.0; + points[2][1] = 0.01; + points[3][0] = 0.01; + points[3][1] = 0.01; std::vector > cells (1); cells[0].vertices[0] = 0; @@ -92,6 +100,3 @@ main() return 0; } - - -