template <int dim, int spacedim>
void
-check_file(unsigned int n_refinements = 0) // for dim = spaceim
+check_file(unsigned int n_divisions, unsigned int n_refinements = 0)
{
Triangulation<dim, spacedim> in_tria, out_tria;
create_triangulation(in_tria);
}
}
- GridGenerator::convert_hypercube_to_simplex_mesh(in_tria, out_tria);
+ GridGenerator::convert_hypercube_to_simplex_mesh(in_tria,
+ out_tria,
+ n_divisions);
// copy manifolds to test global refining
for (const auto i : in_tria.get_manifold_ids())
// dim = spacedim = 2
deallog.push(
"2D: conversion triangulation with quad elements to tri elements: ");
- check_file<2, 2>();
+ check_file<2, 2>(8);
deallog.pop();
- // TETRAHEDRAL ELEMENTS
+ // TRIANGULAR ELEMENTS
// dim = 2, spacedim = 2
deallog.push(
"2D: conversion triangulation with quad elements to tri elements: ");
- check_file<2, 3>();
+ check_file<2, 3>(8);
deallog.pop();
// TETRAHEDRAL ELEMENTS
// dim = spacedim = 3
deallog.push(
"3D: conversion triangulation with tet elements to hex elements: ");
- check_file<3, 3>();
+ check_file<3, 3>(24);
deallog.pop();
// TETRAHEDRAL ELEMENTS
// dim = spacedim = 3
deallog.push(
"3D: conversion triangulation with tet elements to hex elements + refinement: ");
- check_file<3, 3>(1);
+ check_file<3, 3>(24, 1);
deallog.pop();
}