]> https://gitweb.dealii.org/ - dealii.git/commit
fix 64bit overflow in refine_and_coarsen_fixed_number 9568/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 26 Feb 2020 13:13:52 +0000 (08:13 -0500)
committerTimo Heister <timo.heister@gmail.com>
Wed, 26 Feb 2020 13:13:52 +0000 (08:13 -0500)
commit919f99593e8cf9688d8feb6cc364e6060f47a028
treefbf2ed41fdba446fe6121459f5eaacc1df34f8e1
parenta26950a317997fb691f80b4300debc4f319ebad3
fix 64bit overflow in refine_and_coarsen_fixed_number

The argument max_n_cells (that probably nobody uses) was declared as an
unsigned int, meaning that we can not refine over 4 billion cells with
this function. This is now fixed.
include/deal.II/distributed/grid_refinement.h
include/deal.II/grid/grid_refinement.h
source/distributed/grid_refinement.cc
source/distributed/grid_refinement.inst.in
source/grid/grid_refinement.cc
source/grid/grid_refinement.inst.in

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.