From: bangerth Date: Mon, 30 Jun 2008 14:22:09 +0000 (+0000) Subject: Fix the testcase by ensuring that there are no cells in the input file that share... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a32ea57070003dca09e5003b986e25254e55f6df;p=dealii-svn.git Fix the testcase by ensuring that there are no cells in the input file that share 3 vertices (in 2d). git-svn-id: https://svn.dealii.org/trunk@16398 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/fail/grid_in_02.cc b/tests/fail/grid_in_02.cc index a3f98d99a8..e91934e0f6 100644 --- a/tests/fail/grid_in_02.cc +++ b/tests/fail/grid_in_02.cc @@ -12,8 +12,13 @@ //---------------------------- grid_in_02.cc --------------------------- // when reading a particular input file with a mesh, it turns out that -// there's a cell where we list the same cell as neighbor through two +// there are two cells where we list the same cell as neighbor through two // different faces. this of course can't be +// +// the actual cause turned out to be that in each of these 2 cases, the +// (machine generated) input file had two cells that shared 3 (!) vertices. +// in each case, one of the two cells has been removed from the input +// file to fix the testcase. #include "../tests.h" #include diff --git a/tests/fail/grid_in_02/2d.inp b/tests/fail/grid_in_02/2d.inp deleted file mode 100644 index ed4ed25280..0000000000 --- a/tests/fail/grid_in_02/2d.inp +++ /dev/null @@ -1,27 +0,0 @@ -16 10 0 0 0 -1 0.7071 -0.7071 0 -2 0.2668 -0.2668 0 -3 0.2668 0.2668 0 -4 0.7071 0.7071 0 -5 0 -1 0 -6 0.5 -0.5 0 -7 0 -0.3139 0 -8 0 -0.6621 0 -9 0.3139 0 0 -10 0 0.3139 0 -11 0 0 0 -12 1 0 0 -13 0.5 0.5 0 -14 0.6621 0 0 -15 0 1 0 -16 0 0.6621 0 -1 0 quad 5 1 6 8 -2 0 quad 8 6 2 7 -3 0 quad 7 2 9 11 -4 0 quad 11 9 3 10 -5 0 quad 1 12 14 6 -6 0 quad 12 4 13 14 -7 0 quad 14 13 3 9 -8 0 quad 6 14 9 2 -9 0 quad 16 10 3 13 -10 0 quad 15 16 13 4 diff --git a/tests/fail/grid_in_02/2d.nc b/tests/fail/grid_in_02/2d.nc deleted file mode 100644 index 090d12d7c0..0000000000 Binary files a/tests/fail/grid_in_02/2d.nc and /dev/null differ diff --git a/tests/fail/grid_in_02/2d.xda b/tests/fail/grid_in_02/2d.xda index e16cb235d4..7d90e08b78 100644 --- a/tests/fail/grid_in_02/2d.xda +++ b/tests/fail/grid_in_02/2d.xda @@ -1,5 +1,5 @@ DEAL 003:003 -29037 # Num. Elements +29035 # Num. Elements 29490 # Num. Nodes 116148 # Sum of Element Weights 0 # Num. Boundary Conds. @@ -28836,7 +28836,6 @@ Title String 29436 21556 1085 21363 3582 21850 29437 21998 21850 3146 21350 29437 -21998 29437 21999 3621 29437 21350 3431 21999 1687 18504 29438 19511 18504 1689 21869 29438 @@ -28943,7 +28942,6 @@ Title String 21481 29463 19830 3908 29463 22005 3857 19830 3857 22005 29464 21923 -22005 3907 22004 29464 21923 29464 19880 3856 29464 22004 3909 19880 3944 21954 29465 17491