#include "../tests.h"
-#include "../tests/test_grids.h"
+#include "../test_grids.h"
void
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());
}
#include "../tests.h"
-#include "../tests/test_grids.h"
+#include "../test_grids.h"
template <int dim>
void
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;
#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
// 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());
}
// 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());
}
#include "../tests.h"
-#include "../tests/test_grids.h"
+#include "../test_grids.h"
static unsigned subcells[6][4] = {{0, 1, 2, 3},
}
}
- reorder_old_to_new_style(cells);
+ TestGrids::reorder_old_to_new_style(cells);
Triangulation<dim> tria;
tria.create_triangulation(vertices, cells, subcelldata);
#include "../tests.h"
-#include "../tests/test_grids.h"
+#include "../test_grids.h"
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,
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,
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,
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,