From 7151e354db174f5275f8ad09063be8318b361002 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 2 Sep 2022 15:21:23 -0400 Subject: [PATCH] simplify test --- tests/data_out/data_out_hdf5_03.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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); -- 2.39.5