From c3bada2eac7a7b196c30799f625fc056ea1c845a Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Sat, 1 Dec 2018 00:17:12 +0100 Subject: [PATCH] Specify partitioning algorithm in p::s::Tria tests. --- tests/mpi/hp_refinement_01.cc | 6 +++++- ...s=true.with_trilinos_with_zoltan=true.mpirun=2.output} | 0 tests/mpi/hp_refinement_02.cc | 8 +++++--- ...s=true.with_trilinos_with_zoltan=true.mpirun=2.output} | 0 4 files changed, 10 insertions(+), 4 deletions(-) rename tests/mpi/{hp_refinement_01.with_mpi=true.mpirun=2.output => hp_refinement_01.with_mpi=true.with_trilinos=true.with_trilinos_with_zoltan=true.mpirun=2.output} (100%) rename tests/mpi/{hp_refinement_02.with_mpi=true.mpirun=2.output => hp_refinement_02.with_mpi=true.with_trilinos=true.with_trilinos_with_zoltan=true.mpirun=2.output} (100%) diff --git a/tests/mpi/hp_refinement_01.cc b/tests/mpi/hp_refinement_01.cc index 3fd84a5c0c..803894e8f0 100644 --- a/tests/mpi/hp_refinement_01.cc +++ b/tests/mpi/hp_refinement_01.cc @@ -40,7 +40,11 @@ void test() { // ------ setup ------ - parallel::shared::Triangulation tria(MPI_COMM_WORLD); + parallel::shared::Triangulation tria( + MPI_COMM_WORLD, + ::Triangulation::none, + false, + parallel::shared::Triangulation::partition_zoltan); GridGenerator::subdivided_hyper_cube(tria, 2); tria.refine_global(1); diff --git a/tests/mpi/hp_refinement_01.with_mpi=true.mpirun=2.output b/tests/mpi/hp_refinement_01.with_mpi=true.with_trilinos=true.with_trilinos_with_zoltan=true.mpirun=2.output similarity index 100% rename from tests/mpi/hp_refinement_01.with_mpi=true.mpirun=2.output rename to tests/mpi/hp_refinement_01.with_mpi=true.with_trilinos=true.with_trilinos_with_zoltan=true.mpirun=2.output diff --git a/tests/mpi/hp_refinement_02.cc b/tests/mpi/hp_refinement_02.cc index 9f1e479d64..4ab67ae7b3 100644 --- a/tests/mpi/hp_refinement_02.cc +++ b/tests/mpi/hp_refinement_02.cc @@ -40,9 +40,11 @@ void test() { // ------ setup ------ - parallel::shared::Triangulation tria(MPI_COMM_WORLD, - ::Triangulation::none, - true); + parallel::shared::Triangulation tria( + MPI_COMM_WORLD, + ::Triangulation::none, + true, + parallel::shared::Triangulation::partition_zoltan); GridGenerator::subdivided_hyper_cube(tria, 2); tria.refine_global(1); diff --git a/tests/mpi/hp_refinement_02.with_mpi=true.mpirun=2.output b/tests/mpi/hp_refinement_02.with_mpi=true.with_trilinos=true.with_trilinos_with_zoltan=true.mpirun=2.output similarity index 100% rename from tests/mpi/hp_refinement_02.with_mpi=true.mpirun=2.output rename to tests/mpi/hp_refinement_02.with_mpi=true.with_trilinos=true.with_trilinos_with_zoltan=true.mpirun=2.output -- 2.39.5