]> https://gitweb.dealii.org/ - dealii.git/commit
Make sure that compute refinement thresholds are no larger than the max indicator. 1180/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 23 Jul 2015 16:00:51 +0000 (11:00 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 23 Jul 2015 21:23:49 +0000 (16:23 -0500)
commit2f31503a9319d59d682c8200228ab831624c8cf1
treee2441cb9ac38111fd5a2270a9423f42ad2c56d7d
parenta1fe90f298a9d1855ebd9e980fbe9b69a6fad47f
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.