]> https://gitweb.dealii.org/ - dealii.git/commit
detect inifinite loop in periodic refinement 10712/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 16 Jul 2020 16:22:43 +0000 (12:22 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 16 Jul 2020 16:22:43 +0000 (12:22 -0400)
commitda992fabeb7e83758912dd37c72eb29a97f2bdb9
tree18f642e0d252a00c929991c0d096fc43cc69ae97
parentf29b68a2829ecdccb1c2753c7e290505901b02ad
detect inifinite loop in periodic refinement

As witnessed by ASPECT, see
https://github.com/geodynamics/aspect/issues/3604 ,
we might end up in an infinite loop while trying to prepare refinement
flags in
parallel::distributed::Triangulation::prepare_coarsening_and_refinement().
Add a check and abort (instead of a hang).
source/distributed/tria.cc

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.