From: Peter Munch Date: Sat, 22 May 2021 16:20:57 +0000 (+0200) Subject: Switch to parallel tria X-Git-Tag: v9.4.0-rc1~1292^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c43a75c06ae7b7238d7a49b2bb86f2e5cb918338;p=dealii.git Switch to parallel tria --- diff --git a/tests/multigrid-global-coarsening/multigrid_p_02.cc b/tests/multigrid-global-coarsening/multigrid_p_02.cc index 2a3b197cff..13111dc378 100644 --- a/tests/multigrid-global-coarsening/multigrid_p_02.cc +++ b/tests/multigrid-global-coarsening/multigrid_p_02.cc @@ -27,8 +27,10 @@ test(const unsigned int n_refinements, const unsigned int fe_degree_fine) { using VectorType = LinearAlgebra::distributed::Vector; - Triangulation tria( - Triangulation::MeshSmoothing::limit_level_difference_at_vertices); + parallel::distributed::Triangulation tria( + MPI_COMM_WORLD, + Triangulation::MeshSmoothing::none, + parallel::distributed::Triangulation::construct_multigrid_hierarchy); GridGenerator::subdivided_hyper_cube( tria, 2 * Utilities::pow(2, n_refinements)); @@ -88,6 +90,8 @@ test(const unsigned int n_refinements, const unsigned int fe_degree_fine) mg_constrained_dofs.get_boundary_indices(0 /*level*/)); constraint.close(); + constraint.print(std::cout); + // set up operator op.reinit(*mapping, dof_handler, *quad, constraint, 0 /*level*/); } diff --git a/tests/multigrid-global-coarsening/multigrid_p_02.mpirun=1.with_trilinos=true.output b/tests/multigrid-global-coarsening/multigrid_p_02.mpirun=1.with_trilinos=true.output index 24dc959efe..e460d32df9 100644 --- a/tests/multigrid-global-coarsening/multigrid_p_02.mpirun=1.with_trilinos=true.output +++ b/tests/multigrid-global-coarsening/multigrid_p_02.mpirun=1.with_trilinos=true.output @@ -1,10 +1,10 @@ -DEAL:0::2 2 2 4 -DEAL:0::2 3 2 6 -DEAL:0::2 4 2 8 -DEAL:0::2 2 3 6 -DEAL:0::2 3 3 11 -DEAL:0::2 4 3 17 -DEAL:0::2 2 4 13 -DEAL:0::2 3 4 22 -DEAL:0::2 4 4 32 +DEAL:0::2 2 2 3 +DEAL:0::2 3 2 3 +DEAL:0::2 4 2 3 +DEAL:0::2 2 3 3 +DEAL:0::2 3 3 3 +DEAL:0::2 4 3 3 +DEAL:0::2 2 4 3 +DEAL:0::2 3 4 3 +DEAL:0::2 4 4 3