deallog << "Testing for dim = " << dim << std::endl;
// Creating a grid in the square [0,1]x[0,1]
- parallel::shared::Triangulation<dim> tria(MPI_COMM_WORLD);
+ parallel::shared::Triangulation<dim> tria(
+ MPI_COMM_WORLD,
+ Triangulation<dim>::none,
+ false,
+ parallel::shared::Triangulation<dim>::Settings::partition_zoltan);
GridGenerator::hyper_cube(tria);
tria.refine_global(std::max(8 - dim, 3));
const unsigned int n_refinements = 5;
parallel::shared::Triangulation<dim, spacedim> tria(
- MPI_COMM_WORLD, Triangulation<dim, spacedim>::none, true);
+ MPI_COMM_WORLD,
+ Triangulation<dim, spacedim>::none,
+ true,
+ parallel::shared::Triangulation<dim, spacedim>::Settings::partition_zoltan);
#if false
GridGenerator::hyper_sphere(tria, Point<spacedim>(), 0.5);
#else
const unsigned int background_fe_degree = 2;
parallel::shared::Triangulation<spacedim> background_tria(
- MPI_COMM_WORLD, Triangulation<spacedim>::none, true);
+ MPI_COMM_WORLD,
+ Triangulation<spacedim>::none,
+ true,
+ parallel::shared::Triangulation<spacedim>::Settings::partition_zoltan);
#if false
GridGenerator::hyper_cube(background_tria, -1.0, +1.0);
#else
const unsigned int n_refinements = 5;
parallel::shared::Triangulation<dim, spacedim> tria(
- MPI_COMM_WORLD, Triangulation<dim, spacedim>::none, true);
+ MPI_COMM_WORLD,
+ Triangulation<dim, spacedim>::none,
+ true,
+ parallel::shared::Triangulation<dim, spacedim>::Settings::partition_zoltan);
#if false
GridGenerator::hyper_sphere(tria, Point<spacedim>(), 0.5);
#else
const unsigned int background_fe_degree = 2;
parallel::shared::Triangulation<spacedim> background_tria(
- MPI_COMM_WORLD, Triangulation<spacedim>::none, true);
+ MPI_COMM_WORLD,
+ Triangulation<spacedim>::none,
+ true,
+ parallel::shared::Triangulation<spacedim>::Settings::partition_zoltan);
#if false
GridGenerator::hyper_cube(background_tria, -1.0, +1.0);
#else
// after prepare_coarsening_and_refinement(), the p-levels should propagate
// through the central cells as if they were already coarsened
- parallel::shared::Triangulation<dim> tria(MPI_COMM_WORLD,
- Triangulation<dim>::none,
- allow_artificial_cells);
+ parallel::shared::Triangulation<dim> tria(
+ MPI_COMM_WORLD,
+ Triangulation<dim>::none,
+ allow_artificial_cells,
+ parallel::shared::Triangulation<dim>::Settings::partition_zoltan);
TestGrids::hyper_line(tria, 3);
// refine the central cell