]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Tests: boost/extract_*: reorganize code and rename test (fix typo)
authorMatthias Maier <tamiko@43-1.org>
Mon, 11 May 2020 18:37:19 +0000 (13:37 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 11 May 2020 18:51:54 +0000 (13:51 -0500)
tests/boost/extract_representative_set_01.cc [moved from tests/boost/extract_reprsentative_set_01.cc with 100% similarity]
tests/boost/extract_representative_set_01.output [moved from tests/boost/extract_reprsentative_set_01.output with 100% similarity]
tests/boost/extract_representative_set_02.cc [moved from tests/boost/extract_reprsentative_set_02.cc with 98% similarity]
tests/boost/extract_representative_set_02.with_p4est=true.mpirun=3.output [moved from tests/boost/extract_reprsentative_set_02.with_p4est=true.mpirun=3.output with 100% similarity]

similarity index 98%
rename from tests/boost/extract_reprsentative_set_02.cc
rename to tests/boost/extract_representative_set_02.cc
index f49bdb408c53b6b9815b6dc48c03a61d93c42b85..c6ce7ac0077fd1e1f76c81ed1fac579a5ff27269 100644 (file)
@@ -27,8 +27,6 @@
 
 #include <deal.II/numerics/rtree.h>
 
-#include <boost/geometry/index/indexable.hpp>
-
 #include <algorithm>
 
 #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
+}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.