From e7aa686f1658e689d215397d4493859829965646 Mon Sep 17 00:00:00 2001 From: Jan Darowski Date: Fri, 3 Jul 2015 23:24:20 +0200 Subject: 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 --- dive.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dive.h') 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 { -- cgit v1.2.3-70-g09d2