mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Prepare global state of VPM-B when starting to plan
Otherwise, the results of the calculations tend to be rather random and irreproducible... Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cb375623f9
commit
41349c29dd
3 changed files with 13 additions and 1 deletions
2
deco.c
2
deco.c
|
@ -508,6 +508,8 @@ void clear_deco(double surface_pressure)
|
|||
tissue_he_sat[ci] = 0.0;
|
||||
max_n2_crushing_pressure[ci] = 0.0;
|
||||
max_he_crushing_pressure[ci] = 0.0;
|
||||
n2_regen_radius[ci] = get_crit_radius_N2();
|
||||
he_regen_radius[ci] = get_crit_radius_He();
|
||||
}
|
||||
gf_low_pressure_this_dive = surface_pressure;
|
||||
if (!buehlmann_config.gf_low_at_maxdepth)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue