summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-08-18 09:13:39 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-18 06:40:50 -0700
commit4e89a6020ec02fdc7a7af9b59ef918cb610f5a76 (patch)
treeada8a4e4b06b1e5fe0fc3c1fc5864e0912bf7b26 /deco.c
parent159c9eb2c1c19dfbf650f2b0cc28e0ef1f45c964 (diff)
downloadsubsurface-4e89a6020ec02fdc7a7af9b59ef918cb610f5a76.tar.gz
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>
Diffstat (limited to 'deco.c')
-rw-r--r--deco.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/deco.c b/deco.c
index 15c61d238..3c7b9c1d7 100644
--- a/deco.c
+++ b/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;