From a84e1cb14ef11886da3aeb8a96281e4ba64790f4 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 11 May 2020 13:37:19 -0500 Subject: [PATCH] Tests: boost/extract_*: reorganize code and rename test (fix typo) --- ...set_01.cc => extract_representative_set_01.cc} | 0 ...utput => extract_representative_set_01.output} | 0 ...set_02.cc => extract_representative_set_02.cc} | 15 ++++++--------- ...tative_set_02.with_p4est=true.mpirun=3.output} | 0 4 files changed, 6 insertions(+), 9 deletions(-) rename tests/boost/{extract_reprsentative_set_01.cc => extract_representative_set_01.cc} (100%) rename tests/boost/{extract_reprsentative_set_01.output => extract_representative_set_01.output} (100%) rename tests/boost/{extract_reprsentative_set_02.cc => extract_representative_set_02.cc} (98%) rename tests/boost/{extract_reprsentative_set_02.with_p4est=true.mpirun=3.output => extract_representative_set_02.with_p4est=true.mpirun=3.output} (100%) 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 -- 2.39.5