]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Tests: add forgotten namespace, fix typo in includes 15654/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 4 Jul 2023 22:42:00 +0000 (17:42 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 4 Jul 2023 22:56:00 +0000 (17:56 -0500)
tests/bits/q_points.cc
tests/grid/grid_invert.cc
tests/grid/mesh_3d.h
tests/grid/subcelldata.cc
tests/lac/constraints.cc

index c4623fa595bbb44d4fc3e54517e38050641b52ff..1cd4330121d51ccaf5d22dc75af2f59b9f7c52d6 100644 (file)
@@ -36,7 +36,7 @@
 
 #include "../tests.h"
 
-#include "../tests/test_grids.h"
+#include "../test_grids.h"
 
 void
 create_two_cubes(Triangulation<3> &coarse_grid)
@@ -69,7 +69,7 @@ create_two_cubes(Triangulation<3> &coarse_grid)
 
   // finally generate a triangulation
   // out of this
-  reorder_old_to_new_style(cells);
+  TestGrids::reorder_old_to_new_style(cells);
   GridTools::consistently_order_cells(cells);
   coarse_grid.create_triangulation(vertices, cells, SubCellData());
 }
index 1e3876a2f2a720fc9ab1ff3a70df72a6e533a33f..735b0b9375ec455c16f664c511bf5cfc6f7e5c8a 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "../tests.h"
 
-#include "../tests/test_grids.h"
+#include "../test_grids.h"
 
 template <int dim>
 void
@@ -58,7 +58,7 @@ test(bool second_case = false)
 
   SubCellData subcelldata;
 
-  reorder_old_to_new_style(cells);
+  TestGrids::reorder_old_to_new_style(cells);
   GridTools::invert_all_negative_measure_cells(vertices, cells);
 
   Triangulation<dim> tria;
index 513eb8a10c7a6596354f1523c862ac836058f872..d6db1a00a39007d7a7e02ec60ff4677d2a04170e 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "../tests.h"
 
-#include "../tests/test_grids.h"
+#include "../test_grids.h"
 
 // generate two cubes that are attached to each other in a way so that
 // the edges are all ok, but the normals of the common face don't
@@ -59,7 +59,7 @@ create_two_cubes(Triangulation<3> &coarse_grid)
   // finally generate a triangulation
   // out of this
   // if necessary, convert to new-style format
-  reorder_old_to_new_style(cells);
+  TestGrids::reorder_old_to_new_style(cells);
   GridTools::consistently_order_cells(cells);
   coarse_grid.create_triangulation(vertices, cells, SubCellData());
 }
@@ -158,7 +158,7 @@ create_L_shape(Triangulation<3> &coarse_grid)
 
   // finally generate a triangulation
   // out of this
-  reorder_old_to_new_style(cells);
+  TestGrids::reorder_old_to_new_style(cells);
   GridTools::consistently_order_cells(cells);
   coarse_grid.create_triangulation(vertices, cells, SubCellData());
 }
index adbc0936dd64dd5de00e582effbe359b7f737498..c6e82efd90a3273a2d42688f8c2a054f0a48fb30 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "../tests.h"
 
-#include "../tests/test_grids.h"
+#include "../test_grids.h"
 
 
 static unsigned subcells[6][4] = {{0, 1, 2, 3},
@@ -94,7 +94,7 @@ test()
         }
     }
 
-  reorder_old_to_new_style(cells);
+  TestGrids::reorder_old_to_new_style(cells);
   Triangulation<dim> tria;
   tria.create_triangulation(vertices, cells, subcelldata);
 
index 8caeab49959d67f209043986596032076809ceb5..d07a5f09f50905ddb3abafa7b44a2f5fea5dd1c1 100644 (file)
@@ -36,7 +36,7 @@
 
 #include "../tests.h"
 
-#include "../tests/test_grids.h"
+#include "../test_grids.h"
 
 
 
@@ -74,7 +74,7 @@ make_tria(Triangulation<3> &tria, int step)
           cells[0].material_id = 0;
           cells[1].material_id = 0;
 
-          reorder_old_to_new_style(cells);
+          TestGrids::reorder_old_to_new_style(cells);
           tria.create_triangulation(std::vector<Point<3>>(&vertices[0],
                                                           &vertices[12]),
                                     cells,
@@ -118,7 +118,7 @@ make_tria(Triangulation<3> &tria, int step)
           cells[0].material_id = 0;
           cells[1].material_id = 0;
 
-          reorder_old_to_new_style(cells);
+          TestGrids::reorder_old_to_new_style(cells);
           tria.create_triangulation(std::vector<Point<3>>(&vertices[0],
                                                           &vertices[12]),
                                     cells,
@@ -162,7 +162,7 @@ make_tria(Triangulation<3> &tria, int step)
           cells[0].material_id = 0;
           cells[1].material_id = 0;
 
-          reorder_old_to_new_style(cells);
+          TestGrids::reorder_old_to_new_style(cells);
           tria.create_triangulation(std::vector<Point<3>>(&vertices[0],
                                                           &vertices[12]),
                                     cells,
@@ -220,7 +220,7 @@ make_tria(Triangulation<3> &tria, int step)
           cells[2].material_id = 0;
           cells[3].material_id = 0;
 
-          reorder_old_to_new_style(cells);
+          TestGrids::reorder_old_to_new_style(cells);
           tria.create_triangulation(std::vector<Point<3>>(&vertices[0],
                                                           &vertices[18]),
                                     cells,

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.