From ab38b0beb03be3e58bcf369abca609beb1d8fa15 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 27 Jan 2019 16:48:17 -0500 Subject: [PATCH] Explicitly use Zoltan in two tests. This doesn't matter in 05 (since that test only uses one processor) but the output file states that we use Zoltan, so we should be consistent. This is needed in 07 since the default third argument to partition_triangulation is metis, but the output file states that we use Zoltan. --- tests/fe/fe_enriched_color_05.cc | 6 ++++-- tests/fe/fe_enriched_color_07.cc | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/fe/fe_enriched_color_05.cc b/tests/fe/fe_enriched_color_05.cc index 650462f4cb..0f4d5c629f 100644 --- a/tests/fe/fe_enriched_color_05.cc +++ b/tests/fe/fe_enriched_color_05.cc @@ -254,8 +254,10 @@ main(int argc, char **argv) } #ifdef DATA_OUT_FE_ENRICHED - GridTools::partition_triangulation( - Utilities::MPI::n_mpi_processes(MPI_COMM_WORLD), triangulation); + GridTools::partition_triangulation(Utilities::MPI::n_mpi_processes( + MPI_COMM_WORLD), + triangulation, + SparsityTools::Partitioner::zoltan); dof_handler.distribute_dofs(*fe_collection); plot_shape_function(dof_handler, 5); diff --git a/tests/fe/fe_enriched_color_07.cc b/tests/fe/fe_enriched_color_07.cc index cb54266395..1ff3fa834e 100644 --- a/tests/fe/fe_enriched_color_07.cc +++ b/tests/fe/fe_enriched_color_07.cc @@ -1424,7 +1424,9 @@ LaplaceProblem::setup_system() { pcout << "...start setup system" << std::endl; - GridTools::partition_triangulation(n_mpi_processes, triangulation); + GridTools::partition_triangulation(n_mpi_processes, + triangulation, + SparsityTools::Partitioner::zoltan); dof_handler.distribute_dofs(*fe_collection); -- 2.39.5