]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix multigrid unit tests
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jan 2013 18:27:25 +0000 (18:27 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jan 2013 18:27:25 +0000 (18:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@28025 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/mg_01.cc
tests/mpi/mg_02.cc
tests/mpi/mg_03.cc

index d7923b56eda2bc33b941427d6253b17ea27c8eac..346cae06828779d0cf3451f7075d46de027e969e 100644 (file)
@@ -59,7 +59,9 @@ void test()
   if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)
     deallog << "hyper_cube" << std::endl;
 
-  parallel::distributed::Triangulation<dim> tr(MPI_COMM_WORLD);
+  parallel::distributed::Triangulation<dim> tr(MPI_COMM_WORLD,
+                                              Triangulation<dim>::none,
+                                              parallel::distributed::Triangulation<dim>::construct_multigrid_hierarchy);
 
   GridGenerator::hyper_cube(tr);
   tr.refine_global(2);
index d86fce54658692e3ddc4b1d22f671800502306e7..b371f7255a199b8cc680b6ab52c56298df12b414 100644 (file)
@@ -44,7 +44,9 @@ void test()
   if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)
     deallog << "hyper_cube" << std::endl;
 
-  parallel::distributed::Triangulation<dim> tr(MPI_COMM_WORLD);
+  parallel::distributed::Triangulation<dim> tr(MPI_COMM_WORLD,
+                                              Triangulation<dim>::none,
+                                              parallel::distributed::Triangulation<dim>::construct_multigrid_hierarchy);
 
   GridGenerator::hyper_cube(tr);
   tr.refine_global(2);
index 494b6d61f534d05f341144b6974980098f8cdca0..ccc6225cf80d96c4f7f81a4f5c2de3274dc65f91 100644 (file)
@@ -69,7 +69,10 @@ void test()
     deallog << "hyper_cube" << std::endl;
 
   parallel::distributed::Triangulation<dim> tr(MPI_COMM_WORLD);
-
+/*  parallel::distributed::Triangulation<dim> tr(MPI_COMM_WORLD,
+                                              Triangulation<dim>::none,
+                                              parallel::distributed::Triangulation<dim>::construct_multigrid_hierarchy);
+*/
   GridGenerator::hyper_cube(tr);
   tr.refine_global(2);
   DoFHandler<dim> dofh(tr);

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.