summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 22:45:29 +0200
committerGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 22:45:29 +0200
commit2435d79c0e6e4e30ace3b23765005c90181ddae5 (patch)
tree54ca29170d5cf372975729e85ca164a8b593be9a /dive.h
parent0180d2eb1e8101eb362efb00edaae9eb9bcb24aa (diff)
downloadsubsurface-2435d79c0e6e4e30ace3b23765005c90181ddae5.tar.gz
VPM-B: add nuclei size calculation and nuclear regeneration.
This function calculates the size of nuclei at the end of deco, then simulates their regeneration, to the moment before the deco. This is redundant as nuclear regeneration is a very slow process. Function should be called with time in seconds, just before the ascent. 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 f7044fba2..8f0f84832 100644
--- a/dive.h
+++ b/dive.h
@@ -783,6 +783,7 @@ extern unsigned int deco_allowed_depth(double tissues_tolerance, double surface_
extern void set_gf(short gflow, short gfhigh, bool gf_low_at_maxdepth);
extern void cache_deco_state(double, char **datap);
extern double restore_deco_state(char *data);
+extern void nuclear_regeneration(double time);
/* this should be converted to use our types */
struct divedatapoint {