]> https://gitweb.dealii.org/ - dealii.git/commitdiff
simplify test
authorTimo Heister <timo.heister@gmail.com>
Fri, 2 Sep 2022 19:21:23 +0000 (15:21 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 13 Sep 2022 20:13:42 +0000 (16:13 -0400)
tests/data_out/data_out_hdf5_03.cc

index b732c5b9a7298e45fa17cfac30377bea7888e230..5535f9f0470ccde81e3195e99095c8f23448f948 100644 (file)
@@ -40,13 +40,7 @@ void
 test()
 {
   parallel::distributed::Triangulation<dim> tria(MPI_COMM_WORLD);
-  std::vector<unsigned int>                 repetitions(dim, 1);
-  repetitions[0] = 1; // 2x1x1 cells
-  Point<dim> p1;
-  Point<dim> p2;
-  for (int i = 0; i < dim; ++i)
-    p2[i] = 1.0;
-  GridGenerator::subdivided_hyper_rectangle(tria, repetitions, p1, p2);
+  GridGenerator::hyper_cube(tria);
   tria.refine_global(1);
 
   FE_Q<dim> fe(1);

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.