summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Jan Darowski <jan.darowski@gmail.com>2015-08-15 14:28:44 +0200
committerGravatar Jan Darowski <jan.darowski@gmail.com>2015-08-15 14:32:36 +0200
commit499ec9af2fd152ec5b608eaacf53b2df33eec1d3 (patch)
tree416d1ec47d95275d721d66eb407fd863c73086e5 /dive.h
parentc0fde4f50fe8da93094b918bd84ec76eaf4c4598 (diff)
downloadsubsurface-499ec9af2fd152ec5b608eaacf53b2df33eec1d3.tar.gz
VPM-B: Add surface decompression time.
Now, we calculate the volume of free gas not only based on the deco time but also time on the surface, needed for the full desaturation. Signed-off-by: Jan Darowski <jan.darowski@gmail.com>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index d5dbdd2ee..d5681f163 100644
--- a/dive.h
+++ b/dive.h
@@ -800,7 +800,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 void vpmb_next_gradient(double deco_time);
+extern void vpmb_next_gradient(double deco_time, double surface_pressure);
extern bool is_vpmb_ok(double pressure);
extern void boyles_law(double first_stop_pressure, double next_stop_pressure);