]> https://gitweb.dealii.org/ - dealii.git/commit
Make sure that compute refinement thresholds are no larger than the max indicator.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 23 Jul 2015 16:00:51 +0000 (11:00 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 24 Jul 2015 16:51:14 +0000 (12:51 -0400)
commit0bd559bfb701a6f83aded1b158085c8f0fe60c8c
treec5f5458864e999742d4c4e36c6ae4c92730c13e8
parent4078edf9510ac7920cade91fbfcbbcc95931e6af
Make sure that compute refinement thresholds are no larger than the max indicator.

This could happen because we search the threshold in an interval larger than the
actual indicators. If we end up with a threshold that is larger than the largest
indicator, we need to cut things back.

In the process of debugging, I also found a few oddities that have to do
with the fact that we do a lot of arithmetic in double precision, but often
pass in criteria as vectors of float. Fix some of those as well.
source/distributed/grid_refinement.cc
tests/mpi/refine_and_coarsen_fixed_fraction_07.cc [new file with mode: 0644]
tests/mpi/refine_and_coarsen_fixed_fraction_07.mpirun=1.output [new file with mode: 0644]

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.