From: Wolfgang Bangerth Date: Wed, 6 Mar 2024 02:40:51 +0000 (-0700) Subject: Add a test. X-Git-Tag: v9.6.0-rc1~489^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16734%2Fhead;p=dealii.git Add a test. --- diff --git a/tests/multigrid-global-coarsening/interpolate_up_down_01.cc b/tests/multigrid-global-coarsening/interpolate_up_down_01.cc new file mode 100644 index 0000000000..0fef69dd50 --- /dev/null +++ b/tests/multigrid-global-coarsening/interpolate_up_down_01.cc @@ -0,0 +1,292 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2020 - 2023 by the deal.II authors +// +// This file is part of the deal.II library. +// +// The deal.II library is free software; you can use it, redistribute +// it, and/or modify it under the terms of the GNU Lesser General +// Public License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// The full text of the license can be found in the file LICENSE.md at +// the top level directory of deal.II. +// +// --------------------------------------------------------------------- + + +/** + * Test transfer operator via VectorTools::interpolate_to_{coarser,finer}_mesh() + * + * Example: + * + * +---+---+-----+ +-----+-----+ + * | k | k | | | | | + * |---+---| k | | k | k | + * | k | k | | 0 | | | + * +---+---+-----+ -> +-----+-----+ + * | k | k | | | | | + * |---+---| k | | k | k | + * | k | k | | | | | + * +---+---+-----+ +-----+-----+ + * + * ... with fe_degree in the cells + */ + +#include +#include +#include +#include + +#include + +#include +#include + +#include +#include +#include +#include + +#include +#include + +#include + +#include "mg_transfer_util.h" + + +template +class LinearFunction : public Function +{ +public: + double + value(const Point &p, const unsigned int) const + { + return p[0] + 2; + } +}; + + + +template +void +check_zero_error(const DoFHandler &dof_handler, + const VectorType &u) +{ + u.update_ghost_values(); + + Vector error(dof_handler.get_triangulation().n_active_cells()); + VectorTools::integrate_difference(dof_handler, + u, + LinearFunction(), + error, + QGauss(3), + VectorTools::L2_norm); + const double global_error = + VectorTools::compute_global_error(dof_handler.get_triangulation(), + error, + VectorTools::L2_norm); + + AssertThrow(global_error < 1e-12, ExcInternalError()); +} + + + +template +void +do_test(const FiniteElement &fe_fine, const FiniteElement &fe_coarse) +{ + auto create_fine_grid = [](Triangulation &tria) { + GridGenerator::hyper_cube(tria); + tria.refine_global(); + + for (auto &cell : tria.active_cell_iterators()) + if (cell->is_active() && cell->center()[0] < 0.5) + cell->set_refine_flag(); + tria.execute_coarsening_and_refinement(); + }; + + auto execute_global_coarsening = [](Triangulation &tria) { + for (auto &cell : tria.active_cell_iterators()) + cell->set_coarsen_flag(); + tria.execute_coarsening_and_refinement(); + }; + + // create coarse grid + parallel::distributed::Triangulation tria_coarse(MPI_COMM_WORLD); + create_fine_grid(tria_coarse); + execute_global_coarsening(tria_coarse); + + // create fine grid + parallel::distributed::Triangulation tria_fine(MPI_COMM_WORLD); + create_fine_grid(tria_fine); + + // setup dof-handlers + DoFHandler dof_handler_fine(tria_fine); + dof_handler_fine.distribute_dofs(fe_fine); + + DoFHandler dof_handler_coarse(tria_coarse); + dof_handler_coarse.distribute_dofs(fe_coarse); + + // setup constraint matrix + AffineConstraints constraint_coarse( + dof_handler_coarse.locally_owned_dofs(), + DoFTools::extract_locally_relevant_dofs(dof_handler_coarse)); + DoFTools::make_hanging_node_constraints(dof_handler_coarse, + constraint_coarse); + constraint_coarse.close(); + + AffineConstraints constraint_fine( + dof_handler_fine.locally_owned_dofs(), + DoFTools::extract_locally_relevant_dofs(dof_handler_fine)); + DoFTools::make_hanging_node_constraints(dof_handler_fine, constraint_fine); + constraint_fine.close(); + + // Initialize vectors on the two levels + LinearAlgebra::distributed::Vector u_coarse, u_fine; + + const unsigned int mg_level_fine = numbers::invalid_unsigned_int; + const unsigned int mg_level_coarse = numbers::invalid_unsigned_int; + initialize_dof_vector(u_coarse, dof_handler_coarse, mg_level_coarse); + initialize_dof_vector(u_fine, dof_handler_fine, mg_level_fine); + + + // ------------------------------------------------------------- + + + // Start with testing the interpolation from coarse to fine. We do + // this by interpolating a linear function onto the coarse mesh, + // interpolating that to the fine mesh, and ensuring that the + // difference to the original linear function is small: + { + u_coarse = 0; + u_fine = 0; + + VectorTools::interpolate(dof_handler_coarse, + LinearFunction(), + u_coarse); + constraint_coarse.distribute(u_coarse); + + // If the polynomial degree is >=1, then the linear function is in + // the finite element space and interpolation should result in an + // exact representation of the original function. Test this. + if (fe_coarse.degree > 0) + check_zero_error(dof_handler_coarse, u_coarse); + + // Now transfer from coarse to fine mesh. This should be an + // embedding operation and so should always result in a zero error + VectorTools::interpolate_to_finer_mesh( + dof_handler_coarse, u_coarse, dof_handler_fine, constraint_fine, u_fine); + if ((fe_coarse.degree > 0) && (fe_fine.degree > 0)) + check_zero_error(dof_handler_fine, u_fine); + + deallog << "coarse -> fine: OK" << std::endl; + } + + + // Now do it the other way around. Because we are working with a + // linear function, even interpolating from fine to coarse should + // result in a linear function with small error to the original + // (infinite-dimensional) linear function. + { + u_coarse = 0; + u_fine = 0; + + VectorTools::interpolate(dof_handler_fine, LinearFunction(), u_fine); + constraint_fine.distribute(u_fine); + + // If the polynomial degree is >=1, then the linear function is in + // the finite element space and interpolation should result in an + // exact representation of the original function. Test this. + if (fe_fine.degree > 0) + check_zero_error(dof_handler_fine, u_fine); + + // Now transfer from fine to coarse mesh. This is *not* embedding + // operation, but the result should here still be a zero error + VectorTools::interpolate_to_coarser_mesh(dof_handler_fine, + u_fine, + dof_handler_coarse, + constraint_coarse, + u_coarse); + if ((fe_coarse.degree > 0) && (fe_fine.degree > 0)) + check_zero_error(dof_handler_coarse, u_coarse); + + deallog << "fine -> coarse: OK" << std::endl; + } + + // Final check: If we take a random coarse vector (well, one with + // entries 0,1,2,...), interpolate it to the finer mesh, then + // interpolate it back, we need to be able to get the same vector as + // before. Check this. + { + LinearAlgebra::distributed::Vector u_coarse_backup; + initialize_dof_vector(u_coarse_backup, dof_handler_coarse, mg_level_coarse); + + u_coarse = 0; + u_fine = 0; + + for (const auto i : u_coarse.locally_owned_elements()) + u_coarse(i) = i; + u_coarse.compress(VectorOperation::insert); + + u_coarse_backup = u_coarse; + + // Then transfer up and down: + VectorTools::interpolate_to_finer_mesh( + dof_handler_coarse, u_coarse, dof_handler_fine, constraint_fine, u_fine); + VectorTools::interpolate_to_coarser_mesh(dof_handler_fine, + u_fine, + dof_handler_coarse, + constraint_coarse, + u_coarse); + + // We should have gotten the same as we started with. Check this: + for (const auto i : u_coarse.locally_owned_elements()) + AssertThrow(std::fabs(u_coarse(i) - u_coarse_backup(i)) < 1e-12, + ExcInternalError()); + + deallog << "coarse -> fine -> coarse: OK" << std::endl; + } +} + + + +template +void +test(int fe_degree) +{ + const auto str_fine = std::to_string(fe_degree); + const auto str_coarse = std::to_string(fe_degree); + + if (fe_degree > 0) + { + deallog.push("CG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")"); + do_test(FE_Q(fe_degree), FE_Q(fe_degree)); + deallog.pop(); + } + + if (fe_degree > 0) + { + deallog.push("DG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")"); + do_test(FE_DGQ(fe_degree), FE_Q(fe_degree)); + deallog.pop(); + } + + { + deallog.push("DG<2>(" + str_fine + ")<->DG<2>(" + str_coarse + ")"); + do_test(FE_DGQ(fe_degree), FE_DGQ(fe_degree)); + deallog.pop(); + } +} + +int +main(int argc, char **argv) +{ + Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); + MPILogInitAll all; + + deallog.precision(8); + + for (unsigned int i = 0; i < 5; ++i) + test<2, double>(i); +} diff --git a/tests/multigrid-global-coarsening/interpolate_up_down_01.with_p4est=true.mpirun=1.output b/tests/multigrid-global-coarsening/interpolate_up_down_01.with_p4est=true.mpirun=1.output new file mode 100644 index 0000000000..7eb16d9be4 --- /dev/null +++ b/tests/multigrid-global-coarsening/interpolate_up_down_01.with_p4est=true.mpirun=1.output @@ -0,0 +1,40 @@ + +DEAL:0:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:0:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:0:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:0:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:0:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:0:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:0:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:0:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:0:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:0:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:0:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:0:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:0:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:0:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:0:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:0:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:0:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:0:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:0:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:0:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:0:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:0:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:0:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:0:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:0:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:0:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:0:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK diff --git a/tests/multigrid-global-coarsening/interpolate_up_down_01.with_p4est=true.mpirun=3.output b/tests/multigrid-global-coarsening/interpolate_up_down_01.with_p4est=true.mpirun=3.output new file mode 100644 index 0000000000..1e083a43ef --- /dev/null +++ b/tests/multigrid-global-coarsening/interpolate_up_down_01.with_p4est=true.mpirun=3.output @@ -0,0 +1,122 @@ + +DEAL:0:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:0:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:0:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:0:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:0:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:0:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:0:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:0:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:0:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:0:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:0:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:0:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:0:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:0:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:0:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:0:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:0:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:0:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:0:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:0:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:0:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:0:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:0:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:0:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:0:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:0:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:0:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK + +DEAL:1:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:1:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:1:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:1:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:1:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:1:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:1:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:1:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:1:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:1:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:1:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:1:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:1:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:1:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:1:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:1:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:1:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:1:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:1:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:1:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:1:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:1:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:1:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:1:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:1:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:1:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:1:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:1:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:1:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:1:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:1:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK + + +DEAL:2:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:2:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:2:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:2:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:2:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:2:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:2:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:2:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:2:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:2:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:2:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:2:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:2:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:2:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:2:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:2:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:2:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:2:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:2:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:2:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:2:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:2:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:2:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:2:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:2:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:2:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:2:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:2:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:2:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:2:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:2:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK + diff --git a/tests/multigrid-global-coarsening/interpolate_up_down_01.with_p4est=true.mpirun=7.output b/tests/multigrid-global-coarsening/interpolate_up_down_01.with_p4est=true.mpirun=7.output new file mode 100644 index 0000000000..be962d7620 --- /dev/null +++ b/tests/multigrid-global-coarsening/interpolate_up_down_01.with_p4est=true.mpirun=7.output @@ -0,0 +1,286 @@ + +DEAL:0:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:0:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:0:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:0:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:0:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:0:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:0:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:0:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:0:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:0:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:0:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:0:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:0:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:0:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:0:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:0:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:0:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:0:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:0:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:0:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:0:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:0:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:0:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:0:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:0:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:0:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:0:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:0:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:0:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK + +DEAL:1:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:1:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:1:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:1:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:1:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:1:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:1:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:1:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:1:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:1:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:1:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:1:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:1:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:1:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:1:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:1:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:1:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:1:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:1:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:1:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:1:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:1:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:1:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:1:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:1:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:1:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:1:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:1:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:1:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:1:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:1:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:1:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK + + +DEAL:2:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:2:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:2:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:2:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:2:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:2:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:2:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:2:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:2:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:2:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:2:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:2:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:2:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:2:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:2:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:2:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:2:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:2:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:2:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:2:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:2:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:2:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:2:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:2:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:2:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:2:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:2:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:2:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:2:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:2:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:2:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:2:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK + + +DEAL:3:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:3:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:3:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:3:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:3:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:3:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:3:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:3:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:3:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:3:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:3:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:3:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:3:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:3:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:3:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:3:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:3:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:3:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:3:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:3:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:3:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:3:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:3:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:3:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:3:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:3:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:3:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:3:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:3:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:3:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:3:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:3:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:3:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:3:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:3:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:3:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:3:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:3:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:3:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK + + +DEAL:4:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:4:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:4:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:4:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:4:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:4:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:4:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:4:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:4:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:4:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:4:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:4:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:4:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:4:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:4:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:4:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:4:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:4:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:4:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:4:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:4:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:4:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:4:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:4:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:4:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:4:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:4:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:4:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:4:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:4:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:4:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:4:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:4:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:4:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:4:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:4:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:4:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:4:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:4:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK + + +DEAL:5:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:5:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:5:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:5:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:5:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:5:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:5:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:5:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:5:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:5:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:5:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:5:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:5:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:5:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:5:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:5:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:5:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:5:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:5:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:5:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:5:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:5:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:5:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:5:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:5:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:5:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:5:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:5:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:5:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:5:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:5:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:5:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:5:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:5:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:5:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:5:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:5:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:5:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:5:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK + + +DEAL:6:DG<2>(0)<->DG<2>(0)::coarse -> fine: OK +DEAL:6:DG<2>(0)<->DG<2>(0)::fine -> coarse: OK +DEAL:6:DG<2>(0)<->DG<2>(0)::coarse -> fine -> coarse: OK +DEAL:6:CG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:6:CG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:6:CG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:6:DG<2>(1)<->CG<2>(1)::coarse -> fine: OK +DEAL:6:DG<2>(1)<->CG<2>(1)::fine -> coarse: OK +DEAL:6:DG<2>(1)<->CG<2>(1)::coarse -> fine -> coarse: OK +DEAL:6:DG<2>(1)<->DG<2>(1)::coarse -> fine: OK +DEAL:6:DG<2>(1)<->DG<2>(1)::fine -> coarse: OK +DEAL:6:DG<2>(1)<->DG<2>(1)::coarse -> fine -> coarse: OK +DEAL:6:CG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:6:CG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:6:CG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:6:DG<2>(2)<->CG<2>(2)::coarse -> fine: OK +DEAL:6:DG<2>(2)<->CG<2>(2)::fine -> coarse: OK +DEAL:6:DG<2>(2)<->CG<2>(2)::coarse -> fine -> coarse: OK +DEAL:6:DG<2>(2)<->DG<2>(2)::coarse -> fine: OK +DEAL:6:DG<2>(2)<->DG<2>(2)::fine -> coarse: OK +DEAL:6:DG<2>(2)<->DG<2>(2)::coarse -> fine -> coarse: OK +DEAL:6:CG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:6:CG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:6:CG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:6:DG<2>(3)<->CG<2>(3)::coarse -> fine: OK +DEAL:6:DG<2>(3)<->CG<2>(3)::fine -> coarse: OK +DEAL:6:DG<2>(3)<->CG<2>(3)::coarse -> fine -> coarse: OK +DEAL:6:DG<2>(3)<->DG<2>(3)::coarse -> fine: OK +DEAL:6:DG<2>(3)<->DG<2>(3)::fine -> coarse: OK +DEAL:6:DG<2>(3)<->DG<2>(3)::coarse -> fine -> coarse: OK +DEAL:6:CG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:6:CG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:6:CG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:6:DG<2>(4)<->CG<2>(4)::coarse -> fine: OK +DEAL:6:DG<2>(4)<->CG<2>(4)::fine -> coarse: OK +DEAL:6:DG<2>(4)<->CG<2>(4)::coarse -> fine -> coarse: OK +DEAL:6:DG<2>(4)<->DG<2>(4)::coarse -> fine: OK +DEAL:6:DG<2>(4)<->DG<2>(4)::fine -> coarse: OK +DEAL:6:DG<2>(4)<->DG<2>(4)::coarse -> fine -> coarse: OK +