]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Explicitly use Zoltan in two tests. 7647/head
authorDavid Wells <drwells@email.unc.edu>
Sun, 27 Jan 2019 21:48:17 +0000 (16:48 -0500)
committerDavid Wells <drwells@email.unc.edu>
Sun, 27 Jan 2019 21:50:54 +0000 (16:50 -0500)
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
tests/fe/fe_enriched_color_07.cc

index 650462f4cb469cc81147a0600766ce852b1fa6e3..0f4d5c629f540b7f7b73e4290a874ce1c20a2191 100644 (file)
@@ -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<dim>(dof_handler, 5);
index cb542663952ab7d7b8c718b6395205c21381259d..1ff3fa834e051c4fd482b2b1d14da263c850d342 100644 (file)
@@ -1424,7 +1424,9 @@ LaplaceProblem<dim>::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);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.