summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 23:24:20 +0200
committerGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 23:24:20 +0200
commite7aa686f1658e689d215397d4493859829965646 (patch)
tree61e23882a641700d9eefdc9a9a6c149d82eb2be0 /dive.h
parentfad592e43a26343fdef9cd3e0703be10d9069b20 (diff)
downloadsubsurface-e7aa686f1658e689d215397d4493859829965646.tar.gz
VPM-B: add vpm-b based deco checking.
Check during the trial_ascent() if existing pressure gradient is smaller than previously calculated max gradient. If not, ascent is impossible from the vpm-b's point of view. Signed-off-by: Jan Darowski <jan.darowski@gmail.com>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index d9885184e..9b44700e7 100644
--- a/dive.h
+++ b/dive.h
@@ -785,6 +785,7 @@ extern void cache_deco_state(double, char **datap);
extern double restore_deco_state(char *data);
extern void nuclear_regeneration(double time);
extern void vpmb_start_gradient();
+extern bool is_vpmb_ok(double pressure);
/* this should be converted to use our types */
struct divedatapoint {