From: Matthias Maier Date: Mon, 11 May 2020 18:37:19 +0000 (-0500) Subject: Tests: boost/extract_*: reorganize code and rename test (fix typo) X-Git-Tag: v9.2.0-rc1~23^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a84e1cb14ef11886da3aeb8a96281e4ba64790f4;p=dealii.git Tests: boost/extract_*: reorganize code and rename test (fix typo) --- diff --git a/tests/boost/extract_reprsentative_set_01.cc b/tests/boost/extract_representative_set_01.cc similarity index 100% rename from tests/boost/extract_reprsentative_set_01.cc rename to tests/boost/extract_representative_set_01.cc diff --git a/tests/boost/extract_reprsentative_set_01.output b/tests/boost/extract_representative_set_01.output similarity index 100% rename from tests/boost/extract_reprsentative_set_01.output rename to tests/boost/extract_representative_set_01.output diff --git a/tests/boost/extract_reprsentative_set_02.cc b/tests/boost/extract_representative_set_02.cc similarity index 98% rename from tests/boost/extract_reprsentative_set_02.cc rename to tests/boost/extract_representative_set_02.cc index f49bdb408c..c6ce7ac007 100644 --- a/tests/boost/extract_reprsentative_set_02.cc +++ b/tests/boost/extract_representative_set_02.cc @@ -27,8 +27,6 @@ #include -#include - #include #include "../tests.h" @@ -71,10 +69,13 @@ main(int argc, char **argv) const auto tree = pack_rtree(all_boxes); const auto boxes = extract_rtree_level(tree, 0); + deallog << "LEVEL 0: N boxes: " << boxes.size() << std::endl; + for (const auto &b : boxes) + deallog << print(b) << std::endl; // Uncomment the following lines to generate the images of the documentation - + // // std::ofstream ofile( // "output_" + // std::to_string(Utilities::MPI::this_mpi_process(MPI_COMM_WORLD)) + @@ -84,11 +85,7 @@ main(int argc, char **argv) // "all_" + std::to_string(Utilities::MPI::this_mpi_process(MPI_COMM_WORLD)) // + // ".gpl"); - - - for (const auto &b : boxes) - deallog << print(b) << std::endl; - + // // for (const auto &b : all_boxes) // all << print(b); -} \ No newline at end of file +} diff --git a/tests/boost/extract_reprsentative_set_02.with_p4est=true.mpirun=3.output b/tests/boost/extract_representative_set_02.with_p4est=true.mpirun=3.output similarity index 100% rename from tests/boost/extract_reprsentative_set_02.with_p4est=true.mpirun=3.output rename to tests/boost/extract_representative_set_02.with_p4est=true.mpirun=3.output