From: heister Date: Fri, 11 Jan 2013 18:27:25 +0000 (+0000) Subject: fix multigrid unit tests X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=652b58904dc423e1167d72e8d5449b921ab2e16f;p=dealii-svn.git fix multigrid unit tests git-svn-id: https://svn.dealii.org/trunk@28025 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/mpi/mg_01.cc b/tests/mpi/mg_01.cc index d7923b56ed..346cae0682 100644 --- a/tests/mpi/mg_01.cc +++ b/tests/mpi/mg_01.cc @@ -59,7 +59,9 @@ void test() if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) deallog << "hyper_cube" << std::endl; - parallel::distributed::Triangulation tr(MPI_COMM_WORLD); + parallel::distributed::Triangulation tr(MPI_COMM_WORLD, + Triangulation::none, + parallel::distributed::Triangulation::construct_multigrid_hierarchy); GridGenerator::hyper_cube(tr); tr.refine_global(2); diff --git a/tests/mpi/mg_02.cc b/tests/mpi/mg_02.cc index d86fce5465..b371f7255a 100644 --- a/tests/mpi/mg_02.cc +++ b/tests/mpi/mg_02.cc @@ -44,7 +44,9 @@ void test() if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) deallog << "hyper_cube" << std::endl; - parallel::distributed::Triangulation tr(MPI_COMM_WORLD); + parallel::distributed::Triangulation tr(MPI_COMM_WORLD, + Triangulation::none, + parallel::distributed::Triangulation::construct_multigrid_hierarchy); GridGenerator::hyper_cube(tr); tr.refine_global(2); diff --git a/tests/mpi/mg_03.cc b/tests/mpi/mg_03.cc index 494b6d61f5..ccc6225cf8 100644 --- a/tests/mpi/mg_03.cc +++ b/tests/mpi/mg_03.cc @@ -69,7 +69,10 @@ void test() deallog << "hyper_cube" << std::endl; parallel::distributed::Triangulation tr(MPI_COMM_WORLD); - +/* parallel::distributed::Triangulation tr(MPI_COMM_WORLD, + Triangulation::none, + parallel::distributed::Triangulation::construct_multigrid_hierarchy); +*/ GridGenerator::hyper_cube(tr); tr.refine_global(2); DoFHandler dofh(tr);