deallog << "my levels: " << tr.n_levels() << "<= global levels:" << tr.n_global_levels() << std::endl;
-// static const FE_DGP<dim> fe(0);
-// dofh.distribute_dofs (fe);
-
-// DataOut<dim> data_out;
-// data_out.attach_dof_handler (dofh);
-//
-// TrilinosWrappers::MPI::Vector x;
-//
-// x.reinit(dofh.locally_owned_dofs(), MPI_COMM_WORLD);
-// x=2.0;
-//
-// data_out.add_data_vector (x, "x");
-// data_out.build_patches ();
-//
-// if (myid==0)
-// {
-// for (unsigned int i=0; i<dofh.n_locally_owned_dofs_per_processor().size(); ++i)
-// deallog << dofh.n_locally_owned_dofs_per_processor()[i] << std::endl;
-// data_out.write_vtu (deallog.get_file_stream());
-// }
}
int main(int argc, char *argv[])
{
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
+ MPILogInitAll log(__FILE__);
- unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
-
-
- deallog.push(Utilities::int_to_string(myid));
-
- if (myid == 0)
- {
- std::ofstream logfile(output_file_for_mpi("mg_01").c_str());
- deallog.attach(logfile);
- deallog.depth_console(0);
- deallog.threshold_double(1.e-10);
-
- deallog.push("2d");
- test<2>();
- deallog.pop();
- }
- else
- test<2>();
-
+ deallog.push("2d");
+ test<2>();
+ deallog.pop();
}
DEAL:0:2d::-
DEAL:0:2d::
DEAL:0:2d::my levels: 1<= global levels:3
+
+DEAL:1:2d::ID = 1
+DEAL:1:2d::1
+DEAL:1:2d::1368
+DEAL:1:2d::11113-3-66--8---
+DEAL:1:2d::
+
+
+DEAL:2:2d::ID = 2
+DEAL:2:2d::-
+DEAL:2:2d::
+
+
+DEAL:3:2d::ID = 3
+DEAL:3:2d::1
+DEAL:3:2d::1368
+DEAL:3:2d::-1-13333-6--88--
+DEAL:3:2d::
+
+
+DEAL:4:2d::ID = 4
+DEAL:4:2d::-
+DEAL:4:2d::
+
+
+DEAL:5:2d::ID = 5
+DEAL:5:2d::-
+DEAL:5:2d::
+
+
+DEAL:6:2d::ID = 6
+DEAL:6:2d::1
+DEAL:6:2d::1368
+DEAL:6:2d::--11--3-66668-8-
+DEAL:6:2d::
+
+
+DEAL:7:2d::ID = 7
+DEAL:7:2d::-
+DEAL:7:2d::
+
+
+DEAL:8:2d::ID = 8
+DEAL:8:2d::1
+DEAL:8:2d::1368
+DEAL:8:2d::---1--33-6-68888
+DEAL:8:2d::
+
+
+DEAL:9:2d::ID = 9
+DEAL:9:2d::-
+DEAL:9:2d::
+
DEAL:0:2d::00001-1-22--3---
DEAL:0:2d::
DEAL:0:2d::my levels: 3<= global levels:3
+
+DEAL:1:2d::ID = 1
+DEAL:1:2d::0
+DEAL:1:2d::0123
+DEAL:1:2d::-0-01111-2--33--
+DEAL:1:2d::
+
+
+DEAL:2:2d::ID = 2
+DEAL:2:2d::0
+DEAL:2:2d::0123
+DEAL:2:2d::--00--1-22223-3-
+DEAL:2:2d::
+
+
+DEAL:3:2d::ID = 3
+DEAL:3:2d::0
+DEAL:3:2d::0123
+DEAL:3:2d::---0--11-2-23333
+DEAL:3:2d::
+
DoFHandler<dim> dofh(tr);
{
- std::ofstream file((JobIdentifier::base_name(__FILE__)+"/ncpu_" + Utilities::int_to_string(Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(myid)).c_str());
- file << "**** proc " << myid << std::endl;
for (unsigned int lvl=0;lvl<tr.n_levels();++lvl)
{
- file << "level " << lvl << ": ";
+ deallog << "level " << lvl << ": ";
typename DoFHandler<dim>::cell_iterator
cell = dofh.begin(lvl),
endc = dofh.end(lvl);
for (;cell!=endc;++cell)
{
if (cell->level_subdomain_id()!=4294967294)
- file << cell->level_subdomain_id();
+ deallog << cell->level_subdomain_id();
else
- file << "-";
+ deallog << "-";
}
- file << std::endl;
+ deallog << std::endl;
}
}
-
- MPI_Barrier(MPI_COMM_WORLD);
-
- if (myid==0)
- {
- for (unsigned int i=0;i<Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD);++i)
- {
- cat_file((JobIdentifier::base_name(__FILE__)+"/ncpu_" + Utilities::int_to_string(Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(i)).c_str());
- }
- }
-
static const FE_DGP<dim> fe(0);
Assert(dofh.has_active_dofs()==false, ExcInternalError());
Assert(dofh.has_level_dofs()==false, ExcInternalError());
Assert(dofh.has_active_dofs()==true, ExcInternalError());
Assert(dofh.has_level_dofs()==true, ExcInternalError());
- if (myid==0)
{
deallog << "Levels: " << tr.n_global_levels() << std::endl;
std::cout << "Levels: " << tr.n_global_levels() << std::endl;
for (unsigned int i=0; i<vec.size(); ++i)
deallog << vec[i].n_elements() << std::endl;
}
-
-
}
}
int main(int argc, char *argv[])
{
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
+ MPILogInitAll log(__FILE__);
- unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
-
-
- deallog.push(Utilities::int_to_string(myid));
-
- if (myid == 0)
- {
- std::ofstream logfile(output_file_for_mpi(JobIdentifier::base_name(__FILE__)).c_str());
- deallog.attach(logfile);
- deallog.depth_console(0);
- deallog.threshold_double(1.e-10);
-
- deallog.push("2d");
- test<2>();
- deallog.pop();
- }
- else
- test<2>();
-
+ deallog.push("2d");
+ test<2>();
+ deallog.pop();
}
DEAL:0:2d::hyper_cube
-**** proc 0
-level 0: -
-
-**** proc 1
-level 0: 1
-level 1: 1368
-level 2: 11113-3-66--8---
-
-**** proc 2
-level 0: -
-
-**** proc 3
-level 0: 1
-level 1: 1368
-level 2: -1-13333-6--88--
-
-**** proc 4
-level 0: -
-
-**** proc 5
-level 0: -
-
-**** proc 6
-level 0: 1
-level 1: 1368
-level 2: --11--3-66668-8-
-
-**** proc 7
-level 0: -
-
-**** proc 8
-level 0: 1
-level 1: 1368
-level 2: ---1--33-6-68888
-
-**** proc 9
-level 0: -
-
+DEAL:0:2d::level 0: -
DEAL:0:2d::Levels: 3
DEAL:0:2d::n_locally_owned_dofs_per_processor:
DEAL:0:2d::0
DEAL:0:2d::0
DEAL:0:2d::4
DEAL:0:2d::0
+
+DEAL:1:2d::level 0: 1
+DEAL:1:2d::level 1: 1368
+DEAL:1:2d::level 2: 11113-3-66--8---
+DEAL:1:2d::Levels: 3
+DEAL:1:2d::n_locally_owned_dofs_per_processor:
+DEAL:1:2d::0
+DEAL:1:2d::4
+DEAL:1:2d::0
+DEAL:1:2d::4
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::4
+DEAL:1:2d::0
+DEAL:1:2d::4
+DEAL:1:2d::0
+DEAL:1:2d::locally_owned_mg_dofs_per_processor:
+DEAL:1:2d::level 0:
+DEAL:1:2d::0
+DEAL:1:2d::1
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::level 1:
+DEAL:1:2d::0
+DEAL:1:2d::1
+DEAL:1:2d::0
+DEAL:1:2d::1
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::1
+DEAL:1:2d::0
+DEAL:1:2d::1
+DEAL:1:2d::0
+DEAL:1:2d::level 2:
+DEAL:1:2d::0
+DEAL:1:2d::4
+DEAL:1:2d::0
+DEAL:1:2d::4
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::4
+DEAL:1:2d::0
+DEAL:1:2d::4
+DEAL:1:2d::0
+
+
+DEAL:2:2d::level 0: -
+DEAL:2:2d::Levels: 3
+DEAL:2:2d::n_locally_owned_dofs_per_processor:
+DEAL:2:2d::0
+DEAL:2:2d::4
+DEAL:2:2d::0
+DEAL:2:2d::4
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::4
+DEAL:2:2d::0
+DEAL:2:2d::4
+DEAL:2:2d::0
+DEAL:2:2d::locally_owned_mg_dofs_per_processor:
+DEAL:2:2d::level 0:
+DEAL:2:2d::0
+DEAL:2:2d::1
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::level 1:
+DEAL:2:2d::0
+DEAL:2:2d::1
+DEAL:2:2d::0
+DEAL:2:2d::1
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::1
+DEAL:2:2d::0
+DEAL:2:2d::1
+DEAL:2:2d::0
+DEAL:2:2d::level 2:
+DEAL:2:2d::0
+DEAL:2:2d::4
+DEAL:2:2d::0
+DEAL:2:2d::4
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::4
+DEAL:2:2d::0
+DEAL:2:2d::4
+DEAL:2:2d::0
+
+
+DEAL:3:2d::level 0: 1
+DEAL:3:2d::level 1: 1368
+DEAL:3:2d::level 2: -1-13333-6--88--
+DEAL:3:2d::Levels: 3
+DEAL:3:2d::n_locally_owned_dofs_per_processor:
+DEAL:3:2d::0
+DEAL:3:2d::4
+DEAL:3:2d::0
+DEAL:3:2d::4
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::4
+DEAL:3:2d::0
+DEAL:3:2d::4
+DEAL:3:2d::0
+DEAL:3:2d::locally_owned_mg_dofs_per_processor:
+DEAL:3:2d::level 0:
+DEAL:3:2d::0
+DEAL:3:2d::1
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::level 1:
+DEAL:3:2d::0
+DEAL:3:2d::1
+DEAL:3:2d::0
+DEAL:3:2d::1
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::1
+DEAL:3:2d::0
+DEAL:3:2d::1
+DEAL:3:2d::0
+DEAL:3:2d::level 2:
+DEAL:3:2d::0
+DEAL:3:2d::4
+DEAL:3:2d::0
+DEAL:3:2d::4
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::4
+DEAL:3:2d::0
+DEAL:3:2d::4
+DEAL:3:2d::0
+
+
+DEAL:4:2d::level 0: -
+DEAL:4:2d::Levels: 3
+DEAL:4:2d::n_locally_owned_dofs_per_processor:
+DEAL:4:2d::0
+DEAL:4:2d::4
+DEAL:4:2d::0
+DEAL:4:2d::4
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::4
+DEAL:4:2d::0
+DEAL:4:2d::4
+DEAL:4:2d::0
+DEAL:4:2d::locally_owned_mg_dofs_per_processor:
+DEAL:4:2d::level 0:
+DEAL:4:2d::0
+DEAL:4:2d::1
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::level 1:
+DEAL:4:2d::0
+DEAL:4:2d::1
+DEAL:4:2d::0
+DEAL:4:2d::1
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::1
+DEAL:4:2d::0
+DEAL:4:2d::1
+DEAL:4:2d::0
+DEAL:4:2d::level 2:
+DEAL:4:2d::0
+DEAL:4:2d::4
+DEAL:4:2d::0
+DEAL:4:2d::4
+DEAL:4:2d::0
+DEAL:4:2d::0
+DEAL:4:2d::4
+DEAL:4:2d::0
+DEAL:4:2d::4
+DEAL:4:2d::0
+
+
+DEAL:5:2d::level 0: -
+DEAL:5:2d::Levels: 3
+DEAL:5:2d::n_locally_owned_dofs_per_processor:
+DEAL:5:2d::0
+DEAL:5:2d::4
+DEAL:5:2d::0
+DEAL:5:2d::4
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::4
+DEAL:5:2d::0
+DEAL:5:2d::4
+DEAL:5:2d::0
+DEAL:5:2d::locally_owned_mg_dofs_per_processor:
+DEAL:5:2d::level 0:
+DEAL:5:2d::0
+DEAL:5:2d::1
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::level 1:
+DEAL:5:2d::0
+DEAL:5:2d::1
+DEAL:5:2d::0
+DEAL:5:2d::1
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::1
+DEAL:5:2d::0
+DEAL:5:2d::1
+DEAL:5:2d::0
+DEAL:5:2d::level 2:
+DEAL:5:2d::0
+DEAL:5:2d::4
+DEAL:5:2d::0
+DEAL:5:2d::4
+DEAL:5:2d::0
+DEAL:5:2d::0
+DEAL:5:2d::4
+DEAL:5:2d::0
+DEAL:5:2d::4
+DEAL:5:2d::0
+
+
+DEAL:6:2d::level 0: 1
+DEAL:6:2d::level 1: 1368
+DEAL:6:2d::level 2: --11--3-66668-8-
+DEAL:6:2d::Levels: 3
+DEAL:6:2d::n_locally_owned_dofs_per_processor:
+DEAL:6:2d::0
+DEAL:6:2d::4
+DEAL:6:2d::0
+DEAL:6:2d::4
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::4
+DEAL:6:2d::0
+DEAL:6:2d::4
+DEAL:6:2d::0
+DEAL:6:2d::locally_owned_mg_dofs_per_processor:
+DEAL:6:2d::level 0:
+DEAL:6:2d::0
+DEAL:6:2d::1
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::level 1:
+DEAL:6:2d::0
+DEAL:6:2d::1
+DEAL:6:2d::0
+DEAL:6:2d::1
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::1
+DEAL:6:2d::0
+DEAL:6:2d::1
+DEAL:6:2d::0
+DEAL:6:2d::level 2:
+DEAL:6:2d::0
+DEAL:6:2d::4
+DEAL:6:2d::0
+DEAL:6:2d::4
+DEAL:6:2d::0
+DEAL:6:2d::0
+DEAL:6:2d::4
+DEAL:6:2d::0
+DEAL:6:2d::4
+DEAL:6:2d::0
+
+
+DEAL:7:2d::level 0: -
+DEAL:7:2d::Levels: 3
+DEAL:7:2d::n_locally_owned_dofs_per_processor:
+DEAL:7:2d::0
+DEAL:7:2d::4
+DEAL:7:2d::0
+DEAL:7:2d::4
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::4
+DEAL:7:2d::0
+DEAL:7:2d::4
+DEAL:7:2d::0
+DEAL:7:2d::locally_owned_mg_dofs_per_processor:
+DEAL:7:2d::level 0:
+DEAL:7:2d::0
+DEAL:7:2d::1
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::level 1:
+DEAL:7:2d::0
+DEAL:7:2d::1
+DEAL:7:2d::0
+DEAL:7:2d::1
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::1
+DEAL:7:2d::0
+DEAL:7:2d::1
+DEAL:7:2d::0
+DEAL:7:2d::level 2:
+DEAL:7:2d::0
+DEAL:7:2d::4
+DEAL:7:2d::0
+DEAL:7:2d::4
+DEAL:7:2d::0
+DEAL:7:2d::0
+DEAL:7:2d::4
+DEAL:7:2d::0
+DEAL:7:2d::4
+DEAL:7:2d::0
+
+
+DEAL:8:2d::level 0: 1
+DEAL:8:2d::level 1: 1368
+DEAL:8:2d::level 2: ---1--33-6-68888
+DEAL:8:2d::Levels: 3
+DEAL:8:2d::n_locally_owned_dofs_per_processor:
+DEAL:8:2d::0
+DEAL:8:2d::4
+DEAL:8:2d::0
+DEAL:8:2d::4
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::4
+DEAL:8:2d::0
+DEAL:8:2d::4
+DEAL:8:2d::0
+DEAL:8:2d::locally_owned_mg_dofs_per_processor:
+DEAL:8:2d::level 0:
+DEAL:8:2d::0
+DEAL:8:2d::1
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::level 1:
+DEAL:8:2d::0
+DEAL:8:2d::1
+DEAL:8:2d::0
+DEAL:8:2d::1
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::1
+DEAL:8:2d::0
+DEAL:8:2d::1
+DEAL:8:2d::0
+DEAL:8:2d::level 2:
+DEAL:8:2d::0
+DEAL:8:2d::4
+DEAL:8:2d::0
+DEAL:8:2d::4
+DEAL:8:2d::0
+DEAL:8:2d::0
+DEAL:8:2d::4
+DEAL:8:2d::0
+DEAL:8:2d::4
+DEAL:8:2d::0
+
+
+DEAL:9:2d::level 0: -
+DEAL:9:2d::Levels: 3
+DEAL:9:2d::n_locally_owned_dofs_per_processor:
+DEAL:9:2d::0
+DEAL:9:2d::4
+DEAL:9:2d::0
+DEAL:9:2d::4
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::4
+DEAL:9:2d::0
+DEAL:9:2d::4
+DEAL:9:2d::0
+DEAL:9:2d::locally_owned_mg_dofs_per_processor:
+DEAL:9:2d::level 0:
+DEAL:9:2d::0
+DEAL:9:2d::1
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::level 1:
+DEAL:9:2d::0
+DEAL:9:2d::1
+DEAL:9:2d::0
+DEAL:9:2d::1
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::1
+DEAL:9:2d::0
+DEAL:9:2d::1
+DEAL:9:2d::0
+DEAL:9:2d::level 2:
+DEAL:9:2d::0
+DEAL:9:2d::4
+DEAL:9:2d::0
+DEAL:9:2d::4
+DEAL:9:2d::0
+DEAL:9:2d::0
+DEAL:9:2d::4
+DEAL:9:2d::0
+DEAL:9:2d::4
+DEAL:9:2d::0
+
DEAL:0:2d::hyper_cube
-**** proc 0
-level 0: 0
-level 1: 0123
-level 2: 00001-1-22--3---
-
-**** proc 1
-level 0: 0
-level 1: 0123
-level 2: -0-01111-2--33--
-
-**** proc 2
-level 0: 0
-level 1: 0123
-level 2: --00--1-22223-3-
-
-**** proc 3
-level 0: 0
-level 1: 0123
-level 2: ---0--11-2-23333
-
+DEAL:0:2d::level 0: 0
+DEAL:0:2d::level 1: 0123
+DEAL:0:2d::level 2: 00001-1-22--3---
DEAL:0:2d::Levels: 3
DEAL:0:2d::n_locally_owned_dofs_per_processor:
DEAL:0:2d::4
DEAL:0:2d::4
DEAL:0:2d::4
DEAL:0:2d::4
+
+DEAL:1:2d::level 0: 0
+DEAL:1:2d::level 1: 0123
+DEAL:1:2d::level 2: -0-01111-2--33--
+DEAL:1:2d::Levels: 3
+DEAL:1:2d::n_locally_owned_dofs_per_processor:
+DEAL:1:2d::4
+DEAL:1:2d::4
+DEAL:1:2d::4
+DEAL:1:2d::4
+DEAL:1:2d::locally_owned_mg_dofs_per_processor:
+DEAL:1:2d::level 0:
+DEAL:1:2d::1
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::0
+DEAL:1:2d::level 1:
+DEAL:1:2d::1
+DEAL:1:2d::1
+DEAL:1:2d::1
+DEAL:1:2d::1
+DEAL:1:2d::level 2:
+DEAL:1:2d::4
+DEAL:1:2d::4
+DEAL:1:2d::4
+DEAL:1:2d::4
+
+
+DEAL:2:2d::level 0: 0
+DEAL:2:2d::level 1: 0123
+DEAL:2:2d::level 2: --00--1-22223-3-
+DEAL:2:2d::Levels: 3
+DEAL:2:2d::n_locally_owned_dofs_per_processor:
+DEAL:2:2d::4
+DEAL:2:2d::4
+DEAL:2:2d::4
+DEAL:2:2d::4
+DEAL:2:2d::locally_owned_mg_dofs_per_processor:
+DEAL:2:2d::level 0:
+DEAL:2:2d::1
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::0
+DEAL:2:2d::level 1:
+DEAL:2:2d::1
+DEAL:2:2d::1
+DEAL:2:2d::1
+DEAL:2:2d::1
+DEAL:2:2d::level 2:
+DEAL:2:2d::4
+DEAL:2:2d::4
+DEAL:2:2d::4
+DEAL:2:2d::4
+
+
+DEAL:3:2d::level 0: 0
+DEAL:3:2d::level 1: 0123
+DEAL:3:2d::level 2: ---0--11-2-23333
+DEAL:3:2d::Levels: 3
+DEAL:3:2d::n_locally_owned_dofs_per_processor:
+DEAL:3:2d::4
+DEAL:3:2d::4
+DEAL:3:2d::4
+DEAL:3:2d::4
+DEAL:3:2d::locally_owned_mg_dofs_per_processor:
+DEAL:3:2d::level 0:
+DEAL:3:2d::1
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::0
+DEAL:3:2d::level 1:
+DEAL:3:2d::1
+DEAL:3:2d::1
+DEAL:3:2d::1
+DEAL:3:2d::1
+DEAL:3:2d::level 2:
+DEAL:3:2d::4
+DEAL:3:2d::4
+DEAL:3:2d::4
+DEAL:3:2d::4
+
dofh.distribute_mg_dofs (fe);
{
- std::ofstream file((std::string("mg_03/ncpu_") + Utilities::int_to_string(Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(myid)).c_str());
- file << "**** proc " << myid << std::endl;
- for (unsigned int lvl=0;lvl<tr.n_levels();++lvl)
- {
- file << "level " << lvl << ": ";
- typename DoFHandler<dim>::cell_iterator
- cell = dofh.begin(lvl),
- endc = dofh.end(lvl);
-
- for (;cell!=endc;++cell)
- {
- std::vector<unsigned int> dofs(fe.n_dofs_per_cell());
- cell->get_mg_dof_indices(dofs);
-
- for (unsigned int i=0;i<dofs.size();++i)
- if (dofs[i]==numbers::invalid_dof_index)
- file << "- ";
- else
- file << dofs[i] << " ";
- file << " | ";
- }
- file << std::endl;
- }
+ for (unsigned int lvl=0;lvl<tr.n_levels();++lvl)
+ {
+ deallog << "level " << lvl << ": ";
+ typename DoFHandler<dim>::cell_iterator
+ cell = dofh.begin(lvl),
+ endc = dofh.end(lvl);
+
+ for (;cell!=endc;++cell)
+ {
+ std::vector<unsigned int> dofs(fe.n_dofs_per_cell());
+ cell->get_mg_dof_indices(dofs);
+
+ for (unsigned int i=0;i<dofs.size();++i)
+ if (dofs[i]==numbers::invalid_dof_index)
+ deallog << "- ";
+ else
+ deallog << dofs[i] << " ";
+ deallog << " | ";
+ }
+ deallog << std::endl;
+ }
}
- MPI_Barrier(MPI_COMM_WORLD);
-
- if (myid==0)
- {
- for (unsigned int i=0;i<Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD);++i)
- {
- cat_file((std::string("mg_03/ncpu_") + Utilities::int_to_string(Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(i)).c_str());
- }
- }
-
if (myid==0)
deallog << "OK" << std::endl;
}
int main(int argc, char *argv[])
{
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
+ MPILogInitAll log(__FILE__);
- unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
-
-
- deallog.push(Utilities::int_to_string(myid));
-
- if (myid == 0)
- {
- std::ofstream logfile(output_file_for_mpi("mg_03").c_str());
- deallog.attach(logfile);
- deallog.depth_console(0);
- deallog.threshold_double(1.e-10);
-
- deallog.push("2d");
- test<2>();
- deallog.pop();
- }
- else
- test<2>();
-
+ deallog.push("2d");
+ test<2>();
+ deallog.pop();
}
DEAL:0:2d::hyper_cube
-**** proc 0
-level 0: 0 |
-level 1: 0 | 1 | 2 | 3 |
-level 2: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
-
+DEAL:0:2d::level 0: 0 |
+DEAL:0:2d::level 1: 0 | 1 | 2 | 3 |
+DEAL:0:2d::level 2: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
DEAL:0:2d::OK
DEAL:0:2d::hyper_cube
-**** proc 0
-level 0: - |
+DEAL:0:2d::level 0: - |
+DEAL:0:2d::OK
-**** proc 1
-level 0: 0 |
-level 1: 0 | 1 | 2 | 3 |
-level 2: 0 | 1 | 2 | 3 | 4 | - | 6 | - | 8 | 9 | - | - | 12 | - | - | - |
+DEAL:1:2d::level 0: 0 |
+DEAL:1:2d::level 1: 0 | 1 | 2 | 3 |
+DEAL:1:2d::level 2: 0 | 1 | 2 | 3 | 4 | - | 6 | - | 8 | 9 | - | - | 12 | - | - | - |
-**** proc 2
-level 0: - |
-**** proc 3
-level 0: 0 |
-level 1: 0 | 1 | 2 | 3 |
-level 2: - | 1 | - | 3 | 4 | 5 | 6 | 7 | - | 9 | - | - | 12 | 13 | - | - |
+DEAL:2:2d::level 0: - |
-**** proc 4
-level 0: - |
-**** proc 5
-level 0: - |
+DEAL:3:2d::level 0: 0 |
+DEAL:3:2d::level 1: 0 | 1 | 2 | 3 |
+DEAL:3:2d::level 2: - | 1 | - | 3 | 4 | 5 | 6 | 7 | - | 9 | - | - | 12 | 13 | - | - |
-**** proc 6
-level 0: 0 |
-level 1: 0 | 1 | 2 | 3 |
-level 2: - | - | 2 | 3 | - | - | 6 | - | 8 | 9 | 10 | 11 | 12 | - | 14 | - |
-**** proc 7
-level 0: - |
+DEAL:4:2d::level 0: - |
-**** proc 8
-level 0: 0 |
-level 1: 0 | 1 | 2 | 3 |
-level 2: - | - | - | 3 | - | - | 6 | 7 | - | 9 | - | 11 | 12 | 13 | 14 | 15 |
-**** proc 9
-level 0: - |
+DEAL:5:2d::level 0: - |
+
+
+DEAL:6:2d::level 0: 0 |
+DEAL:6:2d::level 1: 0 | 1 | 2 | 3 |
+DEAL:6:2d::level 2: - | - | 2 | 3 | - | - | 6 | - | 8 | 9 | 10 | 11 | 12 | - | 14 | - |
+
+
+DEAL:7:2d::level 0: - |
+
+
+DEAL:8:2d::level 0: 0 |
+DEAL:8:2d::level 1: 0 | 1 | 2 | 3 |
+DEAL:8:2d::level 2: - | - | - | 3 | - | - | 6 | 7 | - | 9 | - | 11 | 12 | 13 | 14 | 15 |
+
+
+DEAL:9:2d::level 0: - |
-DEAL:0:2d::OK
DEAL:0:2d::hyper_cube
-**** proc 0
-level 0: 0 |
-level 1: 0 | 1 | 2 | 3 |
-level 2: 0 | 1 | 2 | 3 | 4 | - | 6 | - | 8 | 9 | - | - | 12 | - | - | - |
+DEAL:0:2d::level 0: 0 |
+DEAL:0:2d::level 1: 0 | 1 | 2 | 3 |
+DEAL:0:2d::level 2: 0 | 1 | 2 | 3 | 4 | - | 6 | - | 8 | 9 | - | - | 12 | - | - | - |
+DEAL:0:2d::OK
-**** proc 1
-level 0: 0 |
-level 1: 0 | 1 | 2 | 3 |
-level 2: - | 1 | - | 3 | 4 | 5 | 6 | 7 | - | 9 | - | - | 12 | 13 | - | - |
+DEAL:1:2d::level 0: 0 |
+DEAL:1:2d::level 1: 0 | 1 | 2 | 3 |
+DEAL:1:2d::level 2: - | 1 | - | 3 | 4 | 5 | 6 | 7 | - | 9 | - | - | 12 | 13 | - | - |
-**** proc 2
-level 0: 0 |
-level 1: 0 | 1 | 2 | 3 |
-level 2: - | - | 2 | 3 | - | - | 6 | - | 8 | 9 | 10 | 11 | 12 | - | 14 | - |
-**** proc 3
-level 0: 0 |
-level 1: 0 | 1 | 2 | 3 |
-level 2: - | - | - | 3 | - | - | 6 | 7 | - | 9 | - | 11 | 12 | 13 | 14 | 15 |
+DEAL:2:2d::level 0: 0 |
+DEAL:2:2d::level 1: 0 | 1 | 2 | 3 |
+DEAL:2:2d::level 2: - | - | 2 | 3 | - | - | 6 | - | 8 | 9 | 10 | 11 | 12 | - | 14 | - |
+
+
+DEAL:3:2d::level 0: 0 |
+DEAL:3:2d::level 1: 0 | 1 | 2 | 3 |
+DEAL:3:2d::level 2: - | - | - | 3 | - | - | 6 | 7 | - | 9 | - | 11 | 12 | 13 | 14 | 15 |
-DEAL:0:2d::OK
dofh.distribute_mg_dofs (fe);
{
- std::ofstream file((std::string("mg_04/ncpu_") + Utilities::int_to_string(Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(myid)).c_str());
- file << "**** proc " << myid << std::endl;
- for (unsigned int lvl=0;lvl<tr.n_levels();++lvl)
- {
- file << "level " << lvl << ": ";
- typename DoFHandler<dim>::cell_iterator
- cell = dofh.begin(lvl),
- endc = dofh.end(lvl);
-
- for (;cell!=endc;++cell)
- {
- std::vector<unsigned int> dofs(fe.n_dofs_per_cell());
- cell->get_mg_dof_indices(dofs);
-
- for (unsigned int i=0;i<dofs.size();++i)
- if (dofs[i]==numbers::invalid_dof_index)
- file << "- ";
- else
- file << dofs[i] << " ";
- file << " | ";
- }
- file << std::endl;
- }
+ for (unsigned int lvl=0;lvl<tr.n_levels();++lvl)
+ {
+ deallog << "level " << lvl << ": ";
+ typename DoFHandler<dim>::cell_iterator
+ cell = dofh.begin(lvl),
+ endc = dofh.end(lvl);
+
+ for (;cell!=endc;++cell)
+ {
+ std::vector<unsigned int> dofs(fe.n_dofs_per_cell());
+ cell->get_mg_dof_indices(dofs);
+
+ for (unsigned int i=0;i<dofs.size();++i)
+ if (dofs[i]==numbers::invalid_dof_index)
+ deallog << "- ";
+ else
+ deallog << dofs[i] << " ";
+ deallog << " | ";
+ }
+ deallog << std::endl;
+ }
}
-
- MPI_Barrier(MPI_COMM_WORLD);
-
- if (myid==0)
- {
- for (unsigned int i=0;i<Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD);++i)
- {
- cat_file((std::string("mg_04/ncpu_") + Utilities::int_to_string(Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(i)).c_str());
- }
- }
-
+
if (myid==0)
deallog << "OK" << std::endl;
}
int main(int argc, char *argv[])
{
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
+ MPILogInitAll log(__FILE__);
- unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
-
-
- deallog.push(Utilities::int_to_string(myid));
-
- if (myid == 0)
- {
- std::ofstream logfile(output_file_for_mpi("mg_04").c_str());
- deallog.attach(logfile);
- deallog.depth_console(0);
- deallog.threshold_double(1.e-10);
-
- deallog.push("2d");
- test<2>();
- deallog.pop();
- }
- else
- test<2>();
-
+ deallog.push("2d");
+ test<2>();
+ deallog.pop();
}
DEAL:0:2d::hyper_cube
-**** proc 0
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 | 4 9 5 10 | 9 11 10 12 | 5 10 8 13 | 10 12 13 14 | 6 7 15 16 | 7 8 16 17 | 15 16 18 19 | 16 17 19 20 | 8 13 17 21 | 13 14 21 22 | 17 21 20 23 | 21 22 23 24 |
-
+DEAL:0:2d::level 0: 0 1 2 3 |
+DEAL:0:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:0:2d::level 2: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 | 4 9 5 10 | 9 11 10 12 | 5 10 8 13 | 10 12 13 14 | 6 7 15 16 | 7 8 16 17 | 15 16 18 19 | 16 17 19 20 | 8 13 17 21 | 13 14 21 22 | 17 21 20 23 | 21 22 23 24 |
DEAL:0:2d::OK
DEAL:0:2d::hyper_cube
-**** proc 0
-level 0: - - - - |
+DEAL:0:2d::level 0: - - - - |
+DEAL:0:2d::OK
-**** proc 1
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 | 4 9 5 10 | 9 - 10 - | 5 10 8 13 | 10 - 13 - | 6 7 15 16 | 7 8 16 17 | 15 16 - - | 16 17 - - | 8 13 17 21 | 13 - 21 - | 17 21 - - | 21 - - - |
+DEAL:1:2d::level 0: 0 1 2 3 |
+DEAL:1:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:1:2d::level 2: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 | 4 9 5 10 | 9 - 10 - | 5 10 8 13 | 10 - 13 - | 6 7 15 16 | 7 8 16 17 | 15 16 - - | 16 17 - - | 8 13 17 21 | 13 - 21 - | 17 21 - - | 21 - - - |
-**** proc 2
-level 0: - - - - |
-**** proc 3
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: - 1 - 3 | 1 4 3 5 | - 3 - 7 | 3 5 7 8 | 4 9 5 10 | 9 11 10 12 | 5 10 8 13 | 10 12 13 14 | - 7 - 16 | 7 8 16 17 | - 16 - - | 16 17 - - | 8 13 17 21 | 13 14 21 22 | 17 21 - - | 21 22 - - |
+DEAL:2:2d::level 0: - - - - |
-**** proc 4
-level 0: - - - - |
-**** proc 5
-level 0: - - - - |
+DEAL:3:2d::level 0: 0 1 2 3 |
+DEAL:3:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:3:2d::level 2: - 1 - 3 | 1 4 3 5 | - 3 - 7 | 3 5 7 8 | 4 9 5 10 | 9 11 10 12 | 5 10 8 13 | 10 12 13 14 | - 7 - 16 | 7 8 16 17 | - 16 - - | 16 17 - - | 8 13 17 21 | 13 14 21 22 | 17 21 - - | 21 22 - - |
-**** proc 6
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: - - 2 3 | - - 3 5 | 2 3 6 7 | 3 5 7 8 | - - 5 10 | - - 10 - | 5 10 8 13 | 10 - 13 - | 6 7 15 16 | 7 8 16 17 | 15 16 18 19 | 16 17 19 20 | 8 13 17 21 | 13 - 21 - | 17 21 20 23 | 21 - 23 - |
-**** proc 7
-level 0: - - - - |
+DEAL:4:2d::level 0: - - - - |
-**** proc 8
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: - - - 3 | - - 3 5 | - 3 - 7 | 3 5 7 8 | - - 5 10 | - - 10 12 | 5 10 8 13 | 10 12 13 14 | - 7 - 16 | 7 8 16 17 | - 16 - 19 | 16 17 19 20 | 8 13 17 21 | 13 14 21 22 | 17 21 20 23 | 21 22 23 24 |
-**** proc 9
-level 0: - - - - |
+DEAL:5:2d::level 0: - - - - |
+
+
+DEAL:6:2d::level 0: 0 1 2 3 |
+DEAL:6:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:6:2d::level 2: - - 2 3 | - - 3 5 | 2 3 6 7 | 3 5 7 8 | - - 5 10 | - - 10 - | 5 10 8 13 | 10 - 13 - | 6 7 15 16 | 7 8 16 17 | 15 16 18 19 | 16 17 19 20 | 8 13 17 21 | 13 - 21 - | 17 21 20 23 | 21 - 23 - |
+
+
+DEAL:7:2d::level 0: - - - - |
+
+
+DEAL:8:2d::level 0: 0 1 2 3 |
+DEAL:8:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:8:2d::level 2: - - - 3 | - - 3 5 | - 3 - 7 | 3 5 7 8 | - - 5 10 | - - 10 12 | 5 10 8 13 | 10 12 13 14 | - 7 - 16 | 7 8 16 17 | - 16 - 19 | 16 17 19 20 | 8 13 17 21 | 13 14 21 22 | 17 21 20 23 | 21 22 23 24 |
+
+
+DEAL:9:2d::level 0: - - - - |
-DEAL:0:2d::OK
DEAL:0:2d::hyper_cube
-**** proc 0
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 | 4 9 5 10 | 9 11 10 12 | 5 10 8 13 | 10 12 13 14 | 6 7 15 16 | 7 8 16 17 | 15 16 - - | 16 17 - - | 8 13 17 21 | 13 14 21 22 | 17 21 - - | 21 22 - - |
+DEAL:0:2d::level 0: 0 1 2 3 |
+DEAL:0:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:0:2d::level 2: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 | 4 9 5 10 | 9 11 10 12 | 5 10 8 13 | 10 12 13 14 | 6 7 15 16 | 7 8 16 17 | 15 16 - - | 16 17 - - | 8 13 17 21 | 13 14 21 22 | 17 21 - - | 21 22 - - |
+DEAL:0:2d::OK
-**** proc 1
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: - - 2 3 | - - 3 5 | 2 3 6 7 | 3 5 7 8 | - - 5 10 | - - 10 12 | 5 10 8 13 | 10 12 13 14 | 6 7 15 16 | 7 8 16 17 | 15 16 18 19 | 16 17 19 20 | 8 13 17 21 | 13 14 21 22 | 17 21 20 23 | 21 22 23 24 |
+DEAL:1:2d::level 0: 0 1 2 3 |
+DEAL:1:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:1:2d::level 2: - - 2 3 | - - 3 5 | 2 3 6 7 | 3 5 7 8 | - - 5 10 | - - 10 12 | 5 10 8 13 | 10 12 13 14 | 6 7 15 16 | 7 8 16 17 | 15 16 18 19 | 16 17 19 20 | 8 13 17 21 | 13 14 21 22 | 17 21 20 23 | 21 22 23 24 |
-DEAL:0:2d::OK
DEAL:0:2d::hyper_cube
-**** proc 0
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 | 4 9 5 10 | 9 - 10 - | 5 10 8 13 | 10 - 13 - | 6 7 15 16 | 7 8 16 17 | 15 16 - - | 16 17 - - | 8 13 17 21 | 13 - 21 - | 17 21 - - | 21 - - - |
+DEAL:0:2d::level 0: 0 1 2 3 |
+DEAL:0:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:0:2d::level 2: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 | 4 9 5 10 | 9 - 10 - | 5 10 8 13 | 10 - 13 - | 6 7 15 16 | 7 8 16 17 | 15 16 - - | 16 17 - - | 8 13 17 21 | 13 - 21 - | 17 21 - - | 21 - - - |
+DEAL:0:2d::OK
-**** proc 1
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: - 1 - 3 | 1 4 3 5 | - 3 - 7 | 3 5 7 8 | 4 9 5 10 | 9 11 10 12 | 5 10 8 13 | 10 12 13 14 | - 7 - 16 | 7 8 16 17 | - 16 - - | 16 17 - - | 8 13 17 21 | 13 14 21 22 | 17 21 - - | 21 22 - - |
+DEAL:1:2d::level 0: 0 1 2 3 |
+DEAL:1:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:1:2d::level 2: - 1 - 3 | 1 4 3 5 | - 3 - 7 | 3 5 7 8 | 4 9 5 10 | 9 11 10 12 | 5 10 8 13 | 10 12 13 14 | - 7 - 16 | 7 8 16 17 | - 16 - - | 16 17 - - | 8 13 17 21 | 13 14 21 22 | 17 21 - - | 21 22 - - |
-**** proc 2
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: - - 2 3 | - - 3 5 | 2 3 6 7 | 3 5 7 8 | - - 5 10 | - - 10 - | 5 10 8 13 | 10 - 13 - | 6 7 15 16 | 7 8 16 17 | 15 16 18 19 | 16 17 19 20 | 8 13 17 21 | 13 - 21 - | 17 21 20 23 | 21 - 23 - |
-**** proc 3
-level 0: 0 1 2 3 |
-level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
-level 2: - - - 3 | - - 3 5 | - 3 - 7 | 3 5 7 8 | - - 5 10 | - - 10 12 | 5 10 8 13 | 10 12 13 14 | - 7 - 16 | 7 8 16 17 | - 16 - 19 | 16 17 19 20 | 8 13 17 21 | 13 14 21 22 | 17 21 20 23 | 21 22 23 24 |
+DEAL:2:2d::level 0: 0 1 2 3 |
+DEAL:2:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:2:2d::level 2: - - 2 3 | - - 3 5 | 2 3 6 7 | 3 5 7 8 | - - 5 10 | - - 10 - | 5 10 8 13 | 10 - 13 - | 6 7 15 16 | 7 8 16 17 | 15 16 18 19 | 16 17 19 20 | 8 13 17 21 | 13 - 21 - | 17 21 20 23 | 21 - 23 - |
+
+
+DEAL:3:2d::level 0: 0 1 2 3 |
+DEAL:3:2d::level 1: 0 1 2 3 | 1 4 3 5 | 2 3 6 7 | 3 5 7 8 |
+DEAL:3:2d::level 2: - - - 3 | - - 3 5 | - 3 - 7 | 3 5 7 8 | - - 5 10 | - - 10 12 | 5 10 8 13 | 10 12 13 14 | - 7 - 16 | 7 8 16 17 | - 16 - 19 | 16 17 19 20 | 8 13 17 21 | 13 14 21 22 | 17 21 20 23 | 21 22 23 24 |
-DEAL:0:2d::OK