From: Lei Qiao Date: Tue, 13 Oct 2015 18:59:31 +0000 (-0500) Subject: add test case mpi/tria_signals_01 X-Git-Tag: v8.4.0-rc2~285^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=343bb05e295be022167cda65eeb6e6126e5929a8;p=dealii.git add test case mpi/tria_signals_01 --- diff --git a/tests/mpi/tria_signals_01.cc b/tests/mpi/tria_signals_01.cc new file mode 100644 index 0000000000..b4ae7b6351 --- /dev/null +++ b/tests/mpi/tria_signals_01.cc @@ -0,0 +1,182 @@ +// --------------------------------------------------------------------- +// +// 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. +// +// --------------------------------------------------------------------- + + +// test signals of Triangulation class in parallel + +#include "../tests.h" +#include +#include +#include + +int signal_counter_create = 0; +int signal_counter_pre_refinement = 0; +int signal_counter_post_refinement = 0; +int signal_counter_pre_coarsening_on_cell = 0; +int signal_counter_post_refinement_on_cell = 0; +int signal_counter_copy = 0; +int signal_counter_clear = 0; +int signal_counter_any_change = 0; + +std::ofstream logfile; + +void f_create () +{ + ++signal_counter_create; + return; +} + +void f_pre_refinement () +{ + ++signal_counter_pre_refinement; + return; +} + +void f_post_refinement () +{ + ++signal_counter_post_refinement; + return; +} + +template +void f_pre_coarsening_on_cell (const typename Triangulation::cell_iterator &) +{ + ++signal_counter_pre_coarsening_on_cell; + return; +} + +template +void f_post_refinement_on_cell (const typename Triangulation::cell_iterator &) +{ + ++signal_counter_post_refinement_on_cell; + return; +} + +template +void f_copy (const Triangulation &) +{ + ++signal_counter_copy; + return; +} + +void f_clear () +{ + ++signal_counter_clear; + return; +} + +void f_any_change () +{ + ++signal_counter_any_change; + return; +} + + +template +void test() +{ + signal_counter_create = 0; + signal_counter_pre_refinement = 0; + signal_counter_post_refinement = 0; + signal_counter_pre_coarsening_on_cell = 0; + signal_counter_post_refinement_on_cell = 0; + signal_counter_copy = 0; + signal_counter_clear = 0; + signal_counter_any_change = 0; + + 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); + + tria.signals.create.connect (&f_create); + tria.signals.pre_refinement.connect (&f_pre_refinement); + tria.signals.post_refinement.connect (&f_post_refinement); + tria.signals.pre_coarsening_on_cell.connect (&f_pre_coarsening_on_cell); + tria.signals.post_refinement_on_cell.connect (&f_post_refinement_on_cell); + tria.signals.copy.connect (&f_copy); + tria.signals.clear.connect (&f_clear); + tria.signals.any_change.connect (&f_any_change); + + GridGenerator::hyper_cube(tria); + + // Test signal on copying + { + TriaType tria_cpoier(MPI_COMM_WORLD); + tria_cpoier.copy_triangulation(tria); + } + + tria.refine_global(2); + + // Test signal on coarsening + { + typename TriaType::active_cell_iterator cell = tria.begin_active(); + const typename TriaType::active_cell_iterator endc = tria.end(); + + for (; cell != endc; ++cell) + { + cell->set_coarsen_flag(); + } + tria.execute_coarsening_and_refinement(); + } + + tria.clear(); + + deallog << "n_signal_create : " << signal_counter_create << std::endl; + deallog << "n_signal_pre_refinement : " << signal_counter_pre_refinement << std::endl; + deallog << "n_signal_post_refinement : " << signal_counter_post_refinement << std::endl; + deallog << "n_signal_pre_coarsening_on_cell : " << signal_counter_pre_coarsening_on_cell << std::endl; + deallog << "n_signal_post_refinement_on_cell : " << signal_counter_post_refinement_on_cell << std::endl; + deallog << "n_signal_copy : " << signal_counter_copy << std::endl; + deallog << "n_signal_clear : " << signal_counter_clear << std::endl; + deallog << "n_signal_any_change : " << signal_counter_any_change << 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_01.mpirun=1.output b/tests/mpi/tria_signals_01.mpirun=1.output new file mode 100644 index 0000000000..332e276fe7 --- /dev/null +++ b/tests/mpi/tria_signals_01.mpirun=1.output @@ -0,0 +1,25 @@ + +DEAL:0:2d-2d::n_signal_create : 1 +DEAL:0:2d-2d::n_signal_pre_refinement : 7 +DEAL:0:2d-2d::n_signal_post_refinement : 7 +DEAL:0:2d-2d::n_signal_pre_coarsening_on_cell : 4 +DEAL:0:2d-2d::n_signal_post_refinement_on_cell : 5 +DEAL:0:2d-2d::n_signal_copy : 1 +DEAL:0:2d-2d::n_signal_clear : 1 +DEAL:0:2d-2d::n_signal_any_change : 9 +DEAL:0:2d-3d::n_signal_create : 1 +DEAL:0:2d-3d::n_signal_pre_refinement : 7 +DEAL:0:2d-3d::n_signal_post_refinement : 7 +DEAL:0:2d-3d::n_signal_pre_coarsening_on_cell : 4 +DEAL:0:2d-3d::n_signal_post_refinement_on_cell : 5 +DEAL:0:2d-3d::n_signal_copy : 1 +DEAL:0:2d-3d::n_signal_clear : 1 +DEAL:0:2d-3d::n_signal_any_change : 9 +DEAL:0:3d-3d::n_signal_create : 1 +DEAL:0:3d-3d::n_signal_pre_refinement : 7 +DEAL:0:3d-3d::n_signal_post_refinement : 7 +DEAL:0:3d-3d::n_signal_pre_coarsening_on_cell : 8 +DEAL:0:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:0:3d-3d::n_signal_copy : 1 +DEAL:0:3d-3d::n_signal_clear : 1 +DEAL:0:3d-3d::n_signal_any_change : 9 diff --git a/tests/mpi/tria_signals_01.mpirun=11.output b/tests/mpi/tria_signals_01.mpirun=11.output new file mode 100644 index 0000000000..c5381a7c61 --- /dev/null +++ b/tests/mpi/tria_signals_01.mpirun=11.output @@ -0,0 +1,285 @@ + +DEAL:0:2d-2d::n_signal_create : 1 +DEAL:0:2d-2d::n_signal_pre_refinement : 4 +DEAL:0:2d-2d::n_signal_post_refinement : 4 +DEAL:0:2d-2d::n_signal_pre_coarsening_on_cell : 0 +DEAL:0:2d-2d::n_signal_post_refinement_on_cell : 0 +DEAL:0:2d-2d::n_signal_copy : 1 +DEAL:0:2d-2d::n_signal_clear : 1 +DEAL:0:2d-2d::n_signal_any_change : 6 +DEAL:0:2d-3d::n_signal_create : 1 +DEAL:0:2d-3d::n_signal_pre_refinement : 4 +DEAL:0:2d-3d::n_signal_post_refinement : 4 +DEAL:0:2d-3d::n_signal_pre_coarsening_on_cell : 0 +DEAL:0:2d-3d::n_signal_post_refinement_on_cell : 0 +DEAL:0:2d-3d::n_signal_copy : 1 +DEAL:0:2d-3d::n_signal_clear : 1 +DEAL:0:2d-3d::n_signal_any_change : 6 +DEAL:0:3d-3d::n_signal_create : 1 +DEAL:0:3d-3d::n_signal_pre_refinement : 8 +DEAL:0:3d-3d::n_signal_post_refinement : 8 +DEAL:0:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:0:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:0:3d-3d::n_signal_copy : 1 +DEAL:0:3d-3d::n_signal_clear : 1 +DEAL:0:3d-3d::n_signal_any_change : 10 + +DEAL:1:2d-2d::n_signal_create : 1 +DEAL:1:2d-2d::n_signal_pre_refinement : 4 +DEAL:1:2d-2d::n_signal_post_refinement : 4 +DEAL:1:2d-2d::n_signal_pre_coarsening_on_cell : 0 +DEAL:1:2d-2d::n_signal_post_refinement_on_cell : 0 +DEAL:1:2d-2d::n_signal_copy : 1 +DEAL:1:2d-2d::n_signal_clear : 1 +DEAL:1:2d-2d::n_signal_any_change : 6 +DEAL:1:2d-3d::n_signal_create : 1 +DEAL:1:2d-3d::n_signal_pre_refinement : 4 +DEAL:1:2d-3d::n_signal_post_refinement : 4 +DEAL:1:2d-3d::n_signal_pre_coarsening_on_cell : 0 +DEAL:1:2d-3d::n_signal_post_refinement_on_cell : 0 +DEAL:1:2d-3d::n_signal_copy : 1 +DEAL:1:2d-3d::n_signal_clear : 1 +DEAL:1:2d-3d::n_signal_any_change : 6 +DEAL:1:3d-3d::n_signal_create : 1 +DEAL:1:3d-3d::n_signal_pre_refinement : 7 +DEAL:1:3d-3d::n_signal_post_refinement : 7 +DEAL:1:3d-3d::n_signal_pre_coarsening_on_cell : 1 +DEAL:1:3d-3d::n_signal_post_refinement_on_cell : 2 +DEAL:1:3d-3d::n_signal_copy : 1 +DEAL:1:3d-3d::n_signal_clear : 1 +DEAL:1:3d-3d::n_signal_any_change : 9 + + +DEAL:2:2d-2d::n_signal_create : 1 +DEAL:2:2d-2d::n_signal_pre_refinement : 7 +DEAL:2:2d-2d::n_signal_post_refinement : 7 +DEAL:2:2d-2d::n_signal_pre_coarsening_on_cell : 4 +DEAL:2:2d-2d::n_signal_post_refinement_on_cell : 5 +DEAL:2:2d-2d::n_signal_copy : 1 +DEAL:2:2d-2d::n_signal_clear : 1 +DEAL:2:2d-2d::n_signal_any_change : 9 +DEAL:2:2d-3d::n_signal_create : 1 +DEAL:2:2d-3d::n_signal_pre_refinement : 7 +DEAL:2:2d-3d::n_signal_post_refinement : 7 +DEAL:2:2d-3d::n_signal_pre_coarsening_on_cell : 4 +DEAL:2:2d-3d::n_signal_post_refinement_on_cell : 5 +DEAL:2:2d-3d::n_signal_copy : 1 +DEAL:2:2d-3d::n_signal_clear : 1 +DEAL:2:2d-3d::n_signal_any_change : 9 +DEAL:2:3d-3d::n_signal_create : 1 +DEAL:2:3d-3d::n_signal_pre_refinement : 8 +DEAL:2:3d-3d::n_signal_post_refinement : 8 +DEAL:2:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:2:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:2:3d-3d::n_signal_copy : 1 +DEAL:2:3d-3d::n_signal_clear : 1 +DEAL:2:3d-3d::n_signal_any_change : 10 + + +DEAL:3:2d-2d::n_signal_create : 1 +DEAL:3:2d-2d::n_signal_pre_refinement : 4 +DEAL:3:2d-2d::n_signal_post_refinement : 4 +DEAL:3:2d-2d::n_signal_pre_coarsening_on_cell : 0 +DEAL:3:2d-2d::n_signal_post_refinement_on_cell : 0 +DEAL:3:2d-2d::n_signal_copy : 1 +DEAL:3:2d-2d::n_signal_clear : 1 +DEAL:3:2d-2d::n_signal_any_change : 6 +DEAL:3:2d-3d::n_signal_create : 1 +DEAL:3:2d-3d::n_signal_pre_refinement : 4 +DEAL:3:2d-3d::n_signal_post_refinement : 4 +DEAL:3:2d-3d::n_signal_pre_coarsening_on_cell : 0 +DEAL:3:2d-3d::n_signal_post_refinement_on_cell : 0 +DEAL:3:2d-3d::n_signal_copy : 1 +DEAL:3:2d-3d::n_signal_clear : 1 +DEAL:3:2d-3d::n_signal_any_change : 6 +DEAL:3:3d-3d::n_signal_create : 1 +DEAL:3:3d-3d::n_signal_pre_refinement : 8 +DEAL:3:3d-3d::n_signal_post_refinement : 8 +DEAL:3:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:3:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:3:3d-3d::n_signal_copy : 1 +DEAL:3:3d-3d::n_signal_clear : 1 +DEAL:3:3d-3d::n_signal_any_change : 10 + + +DEAL:4:2d-2d::n_signal_create : 1 +DEAL:4:2d-2d::n_signal_pre_refinement : 8 +DEAL:4:2d-2d::n_signal_post_refinement : 8 +DEAL:4:2d-2d::n_signal_pre_coarsening_on_cell : 5 +DEAL:4:2d-2d::n_signal_post_refinement_on_cell : 5 +DEAL:4:2d-2d::n_signal_copy : 1 +DEAL:4:2d-2d::n_signal_clear : 1 +DEAL:4:2d-2d::n_signal_any_change : 10 +DEAL:4:2d-3d::n_signal_create : 1 +DEAL:4:2d-3d::n_signal_pre_refinement : 8 +DEAL:4:2d-3d::n_signal_post_refinement : 8 +DEAL:4:2d-3d::n_signal_pre_coarsening_on_cell : 5 +DEAL:4:2d-3d::n_signal_post_refinement_on_cell : 5 +DEAL:4:2d-3d::n_signal_copy : 1 +DEAL:4:2d-3d::n_signal_clear : 1 +DEAL:4:2d-3d::n_signal_any_change : 10 +DEAL:4:3d-3d::n_signal_create : 1 +DEAL:4:3d-3d::n_signal_pre_refinement : 8 +DEAL:4:3d-3d::n_signal_post_refinement : 8 +DEAL:4:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:4:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:4:3d-3d::n_signal_copy : 1 +DEAL:4:3d-3d::n_signal_clear : 1 +DEAL:4:3d-3d::n_signal_any_change : 10 + + +DEAL:5:2d-2d::n_signal_create : 1 +DEAL:5:2d-2d::n_signal_pre_refinement : 4 +DEAL:5:2d-2d::n_signal_post_refinement : 4 +DEAL:5:2d-2d::n_signal_pre_coarsening_on_cell : 0 +DEAL:5:2d-2d::n_signal_post_refinement_on_cell : 0 +DEAL:5:2d-2d::n_signal_copy : 1 +DEAL:5:2d-2d::n_signal_clear : 1 +DEAL:5:2d-2d::n_signal_any_change : 6 +DEAL:5:2d-3d::n_signal_create : 1 +DEAL:5:2d-3d::n_signal_pre_refinement : 4 +DEAL:5:2d-3d::n_signal_post_refinement : 4 +DEAL:5:2d-3d::n_signal_pre_coarsening_on_cell : 0 +DEAL:5:2d-3d::n_signal_post_refinement_on_cell : 0 +DEAL:5:2d-3d::n_signal_copy : 1 +DEAL:5:2d-3d::n_signal_clear : 1 +DEAL:5:2d-3d::n_signal_any_change : 6 +DEAL:5:3d-3d::n_signal_create : 1 +DEAL:5:3d-3d::n_signal_pre_refinement : 4 +DEAL:5:3d-3d::n_signal_post_refinement : 4 +DEAL:5:3d-3d::n_signal_pre_coarsening_on_cell : 0 +DEAL:5:3d-3d::n_signal_post_refinement_on_cell : 0 +DEAL:5:3d-3d::n_signal_copy : 1 +DEAL:5:3d-3d::n_signal_clear : 1 +DEAL:5:3d-3d::n_signal_any_change : 6 + + +DEAL:6:2d-2d::n_signal_create : 1 +DEAL:6:2d-2d::n_signal_pre_refinement : 8 +DEAL:6:2d-2d::n_signal_post_refinement : 8 +DEAL:6:2d-2d::n_signal_pre_coarsening_on_cell : 5 +DEAL:6:2d-2d::n_signal_post_refinement_on_cell : 5 +DEAL:6:2d-2d::n_signal_copy : 1 +DEAL:6:2d-2d::n_signal_clear : 1 +DEAL:6:2d-2d::n_signal_any_change : 10 +DEAL:6:2d-3d::n_signal_create : 1 +DEAL:6:2d-3d::n_signal_pre_refinement : 8 +DEAL:6:2d-3d::n_signal_post_refinement : 8 +DEAL:6:2d-3d::n_signal_pre_coarsening_on_cell : 5 +DEAL:6:2d-3d::n_signal_post_refinement_on_cell : 5 +DEAL:6:2d-3d::n_signal_copy : 1 +DEAL:6:2d-3d::n_signal_clear : 1 +DEAL:6:2d-3d::n_signal_any_change : 10 +DEAL:6:3d-3d::n_signal_create : 1 +DEAL:6:3d-3d::n_signal_pre_refinement : 8 +DEAL:6:3d-3d::n_signal_post_refinement : 8 +DEAL:6:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:6:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:6:3d-3d::n_signal_copy : 1 +DEAL:6:3d-3d::n_signal_clear : 1 +DEAL:6:3d-3d::n_signal_any_change : 10 + + +DEAL:7:2d-2d::n_signal_create : 1 +DEAL:7:2d-2d::n_signal_pre_refinement : 4 +DEAL:7:2d-2d::n_signal_post_refinement : 4 +DEAL:7:2d-2d::n_signal_pre_coarsening_on_cell : 0 +DEAL:7:2d-2d::n_signal_post_refinement_on_cell : 0 +DEAL:7:2d-2d::n_signal_copy : 1 +DEAL:7:2d-2d::n_signal_clear : 1 +DEAL:7:2d-2d::n_signal_any_change : 6 +DEAL:7:2d-3d::n_signal_create : 1 +DEAL:7:2d-3d::n_signal_pre_refinement : 4 +DEAL:7:2d-3d::n_signal_post_refinement : 4 +DEAL:7:2d-3d::n_signal_pre_coarsening_on_cell : 0 +DEAL:7:2d-3d::n_signal_post_refinement_on_cell : 0 +DEAL:7:2d-3d::n_signal_copy : 1 +DEAL:7:2d-3d::n_signal_clear : 1 +DEAL:7:2d-3d::n_signal_any_change : 6 +DEAL:7:3d-3d::n_signal_create : 1 +DEAL:7:3d-3d::n_signal_pre_refinement : 8 +DEAL:7:3d-3d::n_signal_post_refinement : 8 +DEAL:7:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:7:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:7:3d-3d::n_signal_copy : 1 +DEAL:7:3d-3d::n_signal_clear : 1 +DEAL:7:3d-3d::n_signal_any_change : 10 + + +DEAL:8:2d-2d::n_signal_create : 1 +DEAL:8:2d-2d::n_signal_pre_refinement : 4 +DEAL:8:2d-2d::n_signal_post_refinement : 4 +DEAL:8:2d-2d::n_signal_pre_coarsening_on_cell : 0 +DEAL:8:2d-2d::n_signal_post_refinement_on_cell : 0 +DEAL:8:2d-2d::n_signal_copy : 1 +DEAL:8:2d-2d::n_signal_clear : 1 +DEAL:8:2d-2d::n_signal_any_change : 6 +DEAL:8:2d-3d::n_signal_create : 1 +DEAL:8:2d-3d::n_signal_pre_refinement : 4 +DEAL:8:2d-3d::n_signal_post_refinement : 4 +DEAL:8:2d-3d::n_signal_pre_coarsening_on_cell : 0 +DEAL:8:2d-3d::n_signal_post_refinement_on_cell : 0 +DEAL:8:2d-3d::n_signal_copy : 1 +DEAL:8:2d-3d::n_signal_clear : 1 +DEAL:8:2d-3d::n_signal_any_change : 6 +DEAL:8:3d-3d::n_signal_create : 1 +DEAL:8:3d-3d::n_signal_pre_refinement : 8 +DEAL:8:3d-3d::n_signal_post_refinement : 8 +DEAL:8:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:8:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:8:3d-3d::n_signal_copy : 1 +DEAL:8:3d-3d::n_signal_clear : 1 +DEAL:8:3d-3d::n_signal_any_change : 10 + + +DEAL:9:2d-2d::n_signal_create : 1 +DEAL:9:2d-2d::n_signal_pre_refinement : 4 +DEAL:9:2d-2d::n_signal_post_refinement : 4 +DEAL:9:2d-2d::n_signal_pre_coarsening_on_cell : 0 +DEAL:9:2d-2d::n_signal_post_refinement_on_cell : 0 +DEAL:9:2d-2d::n_signal_copy : 1 +DEAL:9:2d-2d::n_signal_clear : 1 +DEAL:9:2d-2d::n_signal_any_change : 6 +DEAL:9:2d-3d::n_signal_create : 1 +DEAL:9:2d-3d::n_signal_pre_refinement : 4 +DEAL:9:2d-3d::n_signal_post_refinement : 4 +DEAL:9:2d-3d::n_signal_pre_coarsening_on_cell : 0 +DEAL:9:2d-3d::n_signal_post_refinement_on_cell : 0 +DEAL:9:2d-3d::n_signal_copy : 1 +DEAL:9:2d-3d::n_signal_clear : 1 +DEAL:9:2d-3d::n_signal_any_change : 6 +DEAL:9:3d-3d::n_signal_create : 1 +DEAL:9:3d-3d::n_signal_pre_refinement : 4 +DEAL:9:3d-3d::n_signal_post_refinement : 4 +DEAL:9:3d-3d::n_signal_pre_coarsening_on_cell : 0 +DEAL:9:3d-3d::n_signal_post_refinement_on_cell : 0 +DEAL:9:3d-3d::n_signal_copy : 1 +DEAL:9:3d-3d::n_signal_clear : 1 +DEAL:9:3d-3d::n_signal_any_change : 6 + + +DEAL:10:2d-2d::n_signal_create : 1 +DEAL:10:2d-2d::n_signal_pre_refinement : 8 +DEAL:10:2d-2d::n_signal_post_refinement : 8 +DEAL:10:2d-2d::n_signal_pre_coarsening_on_cell : 5 +DEAL:10:2d-2d::n_signal_post_refinement_on_cell : 5 +DEAL:10:2d-2d::n_signal_copy : 1 +DEAL:10:2d-2d::n_signal_clear : 1 +DEAL:10:2d-2d::n_signal_any_change : 10 +DEAL:10:2d-3d::n_signal_create : 1 +DEAL:10:2d-3d::n_signal_pre_refinement : 8 +DEAL:10:2d-3d::n_signal_post_refinement : 8 +DEAL:10:2d-3d::n_signal_pre_coarsening_on_cell : 5 +DEAL:10:2d-3d::n_signal_post_refinement_on_cell : 5 +DEAL:10:2d-3d::n_signal_copy : 1 +DEAL:10:2d-3d::n_signal_clear : 1 +DEAL:10:2d-3d::n_signal_any_change : 10 +DEAL:10:3d-3d::n_signal_create : 1 +DEAL:10:3d-3d::n_signal_pre_refinement : 8 +DEAL:10:3d-3d::n_signal_post_refinement : 8 +DEAL:10:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:10:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:10:3d-3d::n_signal_copy : 1 +DEAL:10:3d-3d::n_signal_clear : 1 +DEAL:10:3d-3d::n_signal_any_change : 10 + diff --git a/tests/mpi/tria_signals_01.mpirun=4.output b/tests/mpi/tria_signals_01.mpirun=4.output new file mode 100644 index 0000000000..1361b0b094 --- /dev/null +++ b/tests/mpi/tria_signals_01.mpirun=4.output @@ -0,0 +1,103 @@ + +DEAL:0:2d-2d::n_signal_create : 1 +DEAL:0:2d-2d::n_signal_pre_refinement : 7 +DEAL:0:2d-2d::n_signal_post_refinement : 7 +DEAL:0:2d-2d::n_signal_pre_coarsening_on_cell : 4 +DEAL:0:2d-2d::n_signal_post_refinement_on_cell : 5 +DEAL:0:2d-2d::n_signal_copy : 1 +DEAL:0:2d-2d::n_signal_clear : 1 +DEAL:0:2d-2d::n_signal_any_change : 9 +DEAL:0:2d-3d::n_signal_create : 1 +DEAL:0:2d-3d::n_signal_pre_refinement : 7 +DEAL:0:2d-3d::n_signal_post_refinement : 7 +DEAL:0:2d-3d::n_signal_pre_coarsening_on_cell : 4 +DEAL:0:2d-3d::n_signal_post_refinement_on_cell : 5 +DEAL:0:2d-3d::n_signal_copy : 1 +DEAL:0:2d-3d::n_signal_clear : 1 +DEAL:0:2d-3d::n_signal_any_change : 9 +DEAL:0:3d-3d::n_signal_create : 1 +DEAL:0:3d-3d::n_signal_pre_refinement : 7 +DEAL:0:3d-3d::n_signal_post_refinement : 7 +DEAL:0:3d-3d::n_signal_pre_coarsening_on_cell : 8 +DEAL:0:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:0:3d-3d::n_signal_copy : 1 +DEAL:0:3d-3d::n_signal_clear : 1 +DEAL:0:3d-3d::n_signal_any_change : 9 + +DEAL:1:2d-2d::n_signal_create : 1 +DEAL:1:2d-2d::n_signal_pre_refinement : 8 +DEAL:1:2d-2d::n_signal_post_refinement : 8 +DEAL:1:2d-2d::n_signal_pre_coarsening_on_cell : 5 +DEAL:1:2d-2d::n_signal_post_refinement_on_cell : 5 +DEAL:1:2d-2d::n_signal_copy : 1 +DEAL:1:2d-2d::n_signal_clear : 1 +DEAL:1:2d-2d::n_signal_any_change : 10 +DEAL:1:2d-3d::n_signal_create : 1 +DEAL:1:2d-3d::n_signal_pre_refinement : 8 +DEAL:1:2d-3d::n_signal_post_refinement : 8 +DEAL:1:2d-3d::n_signal_pre_coarsening_on_cell : 5 +DEAL:1:2d-3d::n_signal_post_refinement_on_cell : 5 +DEAL:1:2d-3d::n_signal_copy : 1 +DEAL:1:2d-3d::n_signal_clear : 1 +DEAL:1:2d-3d::n_signal_any_change : 10 +DEAL:1:3d-3d::n_signal_create : 1 +DEAL:1:3d-3d::n_signal_pre_refinement : 8 +DEAL:1:3d-3d::n_signal_post_refinement : 8 +DEAL:1:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:1:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:1:3d-3d::n_signal_copy : 1 +DEAL:1:3d-3d::n_signal_clear : 1 +DEAL:1:3d-3d::n_signal_any_change : 10 + + +DEAL:2:2d-2d::n_signal_create : 1 +DEAL:2:2d-2d::n_signal_pre_refinement : 8 +DEAL:2:2d-2d::n_signal_post_refinement : 8 +DEAL:2:2d-2d::n_signal_pre_coarsening_on_cell : 5 +DEAL:2:2d-2d::n_signal_post_refinement_on_cell : 5 +DEAL:2:2d-2d::n_signal_copy : 1 +DEAL:2:2d-2d::n_signal_clear : 1 +DEAL:2:2d-2d::n_signal_any_change : 10 +DEAL:2:2d-3d::n_signal_create : 1 +DEAL:2:2d-3d::n_signal_pre_refinement : 8 +DEAL:2:2d-3d::n_signal_post_refinement : 8 +DEAL:2:2d-3d::n_signal_pre_coarsening_on_cell : 5 +DEAL:2:2d-3d::n_signal_post_refinement_on_cell : 5 +DEAL:2:2d-3d::n_signal_copy : 1 +DEAL:2:2d-3d::n_signal_clear : 1 +DEAL:2:2d-3d::n_signal_any_change : 10 +DEAL:2:3d-3d::n_signal_create : 1 +DEAL:2:3d-3d::n_signal_pre_refinement : 8 +DEAL:2:3d-3d::n_signal_post_refinement : 8 +DEAL:2:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:2:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:2:3d-3d::n_signal_copy : 1 +DEAL:2:3d-3d::n_signal_clear : 1 +DEAL:2:3d-3d::n_signal_any_change : 10 + + +DEAL:3:2d-2d::n_signal_create : 1 +DEAL:3:2d-2d::n_signal_pre_refinement : 8 +DEAL:3:2d-2d::n_signal_post_refinement : 8 +DEAL:3:2d-2d::n_signal_pre_coarsening_on_cell : 5 +DEAL:3:2d-2d::n_signal_post_refinement_on_cell : 5 +DEAL:3:2d-2d::n_signal_copy : 1 +DEAL:3:2d-2d::n_signal_clear : 1 +DEAL:3:2d-2d::n_signal_any_change : 10 +DEAL:3:2d-3d::n_signal_create : 1 +DEAL:3:2d-3d::n_signal_pre_refinement : 8 +DEAL:3:2d-3d::n_signal_post_refinement : 8 +DEAL:3:2d-3d::n_signal_pre_coarsening_on_cell : 5 +DEAL:3:2d-3d::n_signal_post_refinement_on_cell : 5 +DEAL:3:2d-3d::n_signal_copy : 1 +DEAL:3:2d-3d::n_signal_clear : 1 +DEAL:3:2d-3d::n_signal_any_change : 10 +DEAL:3:3d-3d::n_signal_create : 1 +DEAL:3:3d-3d::n_signal_pre_refinement : 8 +DEAL:3:3d-3d::n_signal_post_refinement : 8 +DEAL:3:3d-3d::n_signal_pre_coarsening_on_cell : 9 +DEAL:3:3d-3d::n_signal_post_refinement_on_cell : 9 +DEAL:3:3d-3d::n_signal_copy : 1 +DEAL:3:3d-3d::n_signal_clear : 1 +DEAL:3:3d-3d::n_signal_any_change : 10 +