From: Timo Heister Date: Fri, 2 Sep 2022 19:21:23 +0000 (-0400) Subject: simplify test X-Git-Tag: v9.5.0-rc1~938^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7151e354db174f5275f8ad09063be8318b361002;p=dealii.git simplify test --- diff --git a/tests/data_out/data_out_hdf5_03.cc b/tests/data_out/data_out_hdf5_03.cc index b732c5b9a7..5535f9f047 100644 --- a/tests/data_out/data_out_hdf5_03.cc +++ b/tests/data_out/data_out_hdf5_03.cc @@ -40,13 +40,7 @@ void test() { parallel::distributed::Triangulation tria(MPI_COMM_WORLD); - std::vector repetitions(dim, 1); - repetitions[0] = 1; // 2x1x1 cells - Point p1; - Point 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 fe(1);