summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 23:59:22 +0200
committerGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 23:59:22 +0200
commitbfb9f1908050e4a42c2e626e00acde01c6c7d4da (patch)
tree64dfdfdb4554c13cd8cab8a1202ce5c5a2f9bd62 /dive.h
parent02f13399177d301c9a1242ce0d342b7c91dd28fd (diff)
downloadsubsurface-bfb9f1908050e4a42c2e626e00acde01c6c7d4da.tar.gz
VPM-B: add next gradient calculation.
It improves (increases) gradients for all the compartments, so more free gas can be created in the divers body. Next gradients will converge, so the volume won't exceed the safe limit, indicated by the crit_volume_lambda parameter. Function takes time of the last deco in seconds. Requires vpmb_start_gradient() to be run before. 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 9b44700e7..042878c1b 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 void vpmb_next_gradient(double deco_time);
extern bool is_vpmb_ok(double pressure);
/* this should be converted to use our types */