]> https://gitweb.dealii.org/ - dealii.git/commit
rework MG distribution
authorTimo Heister <timo.heister@gmail.com>
Mon, 4 Apr 2016 12:34:45 +0000 (14:34 +0200)
committerTimo Heister <timo.heister@gmail.com>
Tue, 12 Apr 2016 16:03:05 +0000 (18:03 +0200)
commit439768b5dad6263fc800c4710f2164912a702795
tree8958e5d4fbcd3c9c6d419126e26ac076b1ff64d3
parent1dfe761d2b0b4856eab71267f10dcd9039489559
rework MG distribution

Fix a rare case of missing level ghost neighbors for geometric
multigrid.

Add sanity checks to confirm several assumptions made in the code to
detect problems like this in the future.

Rework and simplify the logic of distribute_mg_dofs: don't communicate
ghost neighbors by level but all at once and instead of guessing who
will send data, actually request cells from the ghost neighbors.

Add and updated tests.
17 files changed:
source/distributed/tria.cc
source/dofs/dof_handler_policy.cc
tests/mpi/mg_ghost_dofs_periodic_04.with_p4est=true.mpirun=5.output
tests/mpi/mg_ghost_dofs_periodic_06.mpirun=7.output
tests/multigrid/constrained_dofs_02.cc [new file with mode: 0644]
tests/multigrid/constrained_dofs_02.mpirun=2.output [new file with mode: 0644]
tests/multigrid/constrained_dofs_02.mpirun=8.output [new file with mode: 0644]
tests/multigrid/distribute_bug_01.cc [new file with mode: 0644]
tests/multigrid/distribute_bug_01.with_mpi=true.with_p4est=true.mpirun=13.output [new file with mode: 0644]
tests/multigrid/distribute_bug_01.with_mpi=true.with_p4est=true.mpirun=2.output [new file with mode: 0644]
tests/multigrid/distribute_bug_01.with_mpi=true.with_p4est=true.mpirun=20.output [new file with mode: 0644]
tests/multigrid/distribute_bug_01.with_mpi=true.with_p4est=true.mpirun=6.output [new file with mode: 0644]
tests/multigrid/step-50_01.cc [new file with mode: 0644]
tests/multigrid/step-50_01.with_mpi=true.with_p4est=true.with_trilinos=true.mpirun=1.output [new file with mode: 0644]
tests/multigrid/step-50_01.with_mpi=true.with_p4est=true.with_trilinos=true.mpirun=5.output [new file with mode: 0644]
tests/multigrid/step-50_01.with_mpi=true.with_p4est=true.with_trilinos=true.mpirun=8.output [new file with mode: 0644]
tests/multigrid/transfer_04a.with_trilinos=true.mpirun=2.debug.output

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.