diff options
author | Jan Darowski <jan.darowski@gmail.com> | 2015-07-03 23:59:22 +0200 |
---|---|---|
committer | Jan Darowski <jan.darowski@gmail.com> | 2015-07-03 23:59:22 +0200 |
commit | bfb9f1908050e4a42c2e626e00acde01c6c7d4da (patch) | |
tree | 64dfdfdb4554c13cd8cab8a1202ce5c5a2f9bd62 /dive.h | |
parent | 02f13399177d301c9a1242ce0d342b7c91dd28fd (diff) | |
download | subsurface-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |