]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Modify a test to use the original output.
authorDavid Wells <wellsd2@rpi.edu>
Wed, 18 Apr 2018 03:34:22 +0000 (23:34 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Wed, 18 Apr 2018 03:38:44 +0000 (23:38 -0400)
The original version of this test relied on there not being a set
manifold on the interior. Since the point of this test is to check for a
particular crash its okay to ignore the curved geometry part.

tests/bits/tria_crash_01.cc

index 9274f2c42ab60f1b3d5fa8c0cd94a087a99be003..3d6182156346a7254158964ffd90f08800cd8911 100644 (file)
@@ -41,6 +41,7 @@ int main ()
   const unsigned int dim=3;
   Triangulation<dim> tria;
   GridGenerator::cylinder(tria, 1, .7);
+  tria.reset_all_manifolds();
 
   deallog << "n_cells=" << tria.n_active_cells() << std::endl;
 
@@ -77,6 +78,4 @@ int main ()
   tria.execute_coarsening_and_refinement();
 
   deallog << "n_cells=" << tria.n_active_cells() << std::endl;
-
-  return 0;
 }

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.