mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
VPM-B: add initial values for crushing pressure variables.
Signed-off-by: Jan Darowski <jan.darowski@gmail.com>
This commit is contained in:
parent
bed3b9eea3
commit
ecd0e3e170
1 changed files with 3 additions and 0 deletions
3
deco.c
3
deco.c
|
@ -322,10 +322,13 @@ void clear_deco(double surface_pressure)
|
|||
for (ci = 0; ci < 16; ci++) {
|
||||
tissue_n2_sat[ci] = (surface_pressure - WV_PRESSURE) * N2_IN_AIR / 1000;
|
||||
tissue_he_sat[ci] = 0.0;
|
||||
max_n2_crushing_pressure[ci] = 0.0;
|
||||
max_he_crushing_pressure[ci] = 0.0;
|
||||
}
|
||||
gf_low_pressure_this_dive = surface_pressure;
|
||||
if (!buehlmann_config.gf_low_at_maxdepth)
|
||||
gf_low_pressure_this_dive += buehlmann_config.gf_low_position_min;
|
||||
max_ambient_pressure = 0.0;
|
||||
}
|
||||
|
||||
void cache_deco_state(double tissue_tolerance, char **cached_datap)
|
||||
|
|
Loading…
Reference in a new issue