From: Lei Qiao Date: Thu, 15 Oct 2015 15:39:06 +0000 (-0500) Subject: add test case mpi/tria_signals_03: tria_signals_02 + random and mixed adaptation. X-Git-Tag: v8.4.0-rc2~285^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=740cfcfb52c60c2952a5fe13554c1760b46e58e9;p=dealii.git add test case mpi/tria_signals_03: tria_signals_02 + random and mixed adaptation. --- diff --git a/tests/mpi/tria_signals_03.cc b/tests/mpi/tria_signals_03.cc new file mode 100644 index 0000000000..a4ec17c352 --- /dev/null +++ b/tests/mpi/tria_signals_03.cc @@ -0,0 +1,195 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2015 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 at +// the top level of the deal.II distribution. +// +// --------------------------------------------------------------------- + + +#include "../tests.h" +#include +#include +#include +#include + +#include +#include + +// Test on whether signals post_refinement_on_cell and pre_coarsening_on_cell +// could catch all cell changes. +// The test is designed to count cell number increase and decrease in signal +// calls and then compare the result against n_active_cells reported by Tria +// object. Absolute value change in n_active_cells is not concerned in this test. + +// This test is based on tria_signals_02. The difference is here we have random +// and mix refinement and coarsening. + +template +class SignalListener +{ +public: + SignalListener(Triangulation &tria_in) + : + n_active_cells(tria_in.n_active_cells()), + tria(tria_in) + { + tria_in.signals.post_refinement_on_cell.connect + (std_cxx11::bind (&SignalListener::count_on_refine, + this, + std_cxx11::placeholders::_1)); + + tria_in.signals.pre_coarsening_on_cell.connect + (std_cxx11::bind (&SignalListener::count_on_coarsen, + this, + std_cxx11::placeholders::_1)); + } + + int n_active_cell_gap() + { + return (n_active_cells - + static_cast (tria.n_active_cells())); + } + +private: + void count_on_refine(const typename Triangulation::cell_iterator &cell) + { + n_active_cells += cell->n_children(); + --n_active_cells; + + return; + } + + void count_on_coarsen(const typename Triangulation::cell_iterator &cell) + { + ++n_active_cells; + n_active_cells -= cell->n_children(); + + return; + } + + int n_active_cells; + const Triangulation &tria; +}; + + +template +void test() +{ + typedef parallel::distributed::Triangulation TriaType; + + { + const std::string prefix = Utilities::int_to_string (dim, 1) + + "d-" + + Utilities::int_to_string (spacedim, 1) + + "d"; + deallog.push(prefix.c_str()); + } + + TriaType tria(MPI_COMM_WORLD); + + GridGenerator::hyper_cube(tria); + SignalListener count_cell_via_signal(tria); + + tria.refine_global(1); + + + // The following loop is borrowed from p4est_3d_refine_01 with some modifications. + for (int n_loop = 0; + // Terminate loop on global information to prevent premature termination + // on only part of processors. (n_loop < 20) is just a passive safety to + // avoid infinite loop. + (tria.n_global_active_cells() < 20000) && (n_loop < 20); + ++n_loop) + { + std::vector flags (tria.n_active_cells(), false); + + // Refine one fifth of all cells each time (but at least one). + // Note that only the own marked cells will be refined. + // But refine flags on own cells could be effected by flags on ghost cells + // through mesh smoothing. + for (unsigned int i=0; i::active_cell_iterator + cell = tria.begin_active(); + cell != tria.end(); ++cell, ++index) + if (flags[index]) + { + if (cell->is_locally_owned()) + ++locals; + cell->set_refine_flag(); + } + + if (locals > 5) + { + // Coarsen some cells randomly only if we have enough local cells + // marked to be refined + std::fill(flags.begin(), flags.end(), false); + for (unsigned int i=0; i::active_cell_iterator + cell = tria.begin_active(); + cell != tria.end(); ++cell, ++index) + if (flags[index] && ! cell->refine_flag_set()) + { + cell->set_coarsen_flag(); + } + } + + tria.execute_coarsening_and_refinement (); + + deallog << "n_loop: " << n_loop + << ", n_cell_gap: " + << count_cell_via_signal.n_active_cell_gap() << std::endl; + } + + deallog.pop(); + return; +} + +int main(int argc, char *argv[]) +{ + Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, /* int max_num_threads */ 1); + MPILogInitAll log; + + // parallel::distributed::Triangulation<1, spacedim> is not valid. + { + const int dim = 2; + const int spacedim = 2; + test (); + } + + { + const int dim = 2; + const int spacedim = 3; + test (); + } + + { + const int dim = 3; + const int spacedim = 3; + test (); + } + + return (0); +} + diff --git a/tests/mpi/tria_signals_03.mpirun=1.output b/tests/mpi/tria_signals_03.mpirun=1.output new file mode 100644 index 0000000000..3e5f4c05d7 --- /dev/null +++ b/tests/mpi/tria_signals_03.mpirun=1.output @@ -0,0 +1,34 @@ + +DEAL:0:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 12, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 12, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 6, n_cell_gap: 0 diff --git a/tests/mpi/tria_signals_03.mpirun=11.output b/tests/mpi/tria_signals_03.mpirun=11.output new file mode 100644 index 0000000000..c67a578bb4 --- /dev/null +++ b/tests/mpi/tria_signals_03.mpirun=11.output @@ -0,0 +1,362 @@ + +DEAL:0:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 6, n_cell_gap: 0 + +DEAL:1:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:2:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:3:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:4:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:4:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:4:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:4:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:4:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:4:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:4:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:4:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:4:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:4:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:5:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:5:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:5:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:5:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:5:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:5:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:5:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:5:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:5:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:5:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:6:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:6:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:6:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:6:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:6:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:6:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:6:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:6:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:6:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:6:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:7:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:7:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:7:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:7:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:7:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:7:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:7:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:7:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:7:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:7:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:8:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:8:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:8:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:8:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:8:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:8:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:8:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:8:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:8:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:8:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:9:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:9:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:9:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:9:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:9:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:9:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:9:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:9:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:9:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:9:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:10:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:10:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:10:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:10:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:10:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:10:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:10:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:10:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:10:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:10:3d-3d::n_loop: 6, n_cell_gap: 0 + diff --git a/tests/mpi/tria_signals_03.mpirun=4.output b/tests/mpi/tria_signals_03.mpirun=4.output new file mode 100644 index 0000000000..002c2b16ee --- /dev/null +++ b/tests/mpi/tria_signals_03.mpirun=4.output @@ -0,0 +1,135 @@ + +DEAL:0:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:0:2d-2d::n_loop: 12, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:0:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:0:3d-3d::n_loop: 6, n_cell_gap: 0 + +DEAL:1:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:1:2d-2d::n_loop: 12, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:1:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:1:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:2:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:2:2d-2d::n_loop: 12, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:2:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:2:3d-3d::n_loop: 6, n_cell_gap: 0 + + +DEAL:3:2d-2d::n_loop: 0, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 1, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 2, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 3, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 4, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 5, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 6, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 7, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 8, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 9, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 10, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 11, n_cell_gap: 0 +DEAL:3:2d-2d::n_loop: 12, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 6, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 7, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 8, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 9, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 10, n_cell_gap: 0 +DEAL:3:2d-3d::n_loop: 11, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 0, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 1, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 2, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 3, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 4, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 5, n_cell_gap: 0 +DEAL:3:3d-3d::n_loop: 6, n_cell_gap: 0 +