mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Get rid of is_ok_vpmb
Since a8ce8, that made deco_allowed_depth work for VPM-B as well, this function became obsolete but was reintroduced by one of Jan's latest patches. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
159c9eb2c1
commit
4e89a6020e
3 changed files with 0 additions and 20 deletions
15
deco.c
15
deco.c
|
|
@ -280,21 +280,6 @@ double calc_surface_phase(double surface_pressure, double he_pressure, double n2
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool is_vpmb_ok(double pressure)
|
||||
{
|
||||
int ci;
|
||||
double gradient;
|
||||
double gas_tension;
|
||||
|
||||
for (ci = 0; ci < 16; ++ci) {
|
||||
gas_tension = tissue_n2_sat[ci] + tissue_he_sat[ci] + vpmb_config.other_gases_pressure;
|
||||
gradient = gas_tension - pressure;
|
||||
if (gradient > total_gradient[ci])
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void vpmb_start_gradient()
|
||||
{
|
||||
int ci;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue