From: Nils Schween Date: Tue, 14 Mar 2023 16:17:44 +0000 (+0100) Subject: Apply suggestions from code review X-Git-Tag: v9.5.0-rc1~454^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50ffbd74ce6a84cb3c9c0a032610c3aaf67ff55b;p=dealii.git Apply suggestions from code review Co-authored-by: Daniel Arndt --- diff --git a/tests/grid/grid_tools_collect_periodic_faces_parallel_shared_tria.cc b/tests/grid/grid_tools_collect_periodic_faces_parallel_shared_tria.cc index 9deb43e703..1574fbd0a4 100644 --- a/tests/grid/grid_tools_collect_periodic_faces_parallel_shared_tria.cc +++ b/tests/grid/grid_tools_collect_periodic_faces_parallel_shared_tria.cc @@ -44,9 +44,7 @@ void test(MPI_Comm comm) { // Collect periodic faces in the x-direction GridTools::collect_periodic_faces(tria, 0, 1, 0, matched_pairs); // Check the size of the matched_pairs vector - if (matched_pairs.size() != 1) { - // throw error - } + deallog << matched_pairs.size() << std::endl; } else if constexpr (dim == 2) { Point p1{0., 0.}; Point p2{1., 1.}; @@ -54,8 +52,7 @@ void test(MPI_Comm comm) { GridGenerator::subdivided_hyper_rectangle(tria, repitions, p1, p2, true); GridTools::collect_periodic_faces(tria, 0, 1, 0, matched_pairs); - if (matched_pairs.size() != 16) { - } + deallog << matched_pairs.size() << std::endl; } else if constexpr (dim == 3) { Point p1{0., 0., 0.}; Point p2{1., 1., 1.}; @@ -64,8 +61,7 @@ void test(MPI_Comm comm) { GridGenerator::subdivided_hyper_rectangle(tria, repitions, p1, p2, true); GridTools::collect_periodic_faces(tria, 0, 1, 0, matched_pairs); - if (matched_pairs.size() != 256) { - } + deallog << matched_pairs.size() << std::endl; } }