summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2018-04-10 21:20:38 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2018-04-11 21:15:38 +0200
commitece714556fa2403dddec481a7a09d68eb82e84fa (patch)
treec422e24795d7d866d2e98d0baa223677aa084eb4 /core/dive.h
parent71d1e78db2435c74a3170a9fe0d3e4e0e6c946c2 (diff)
downloadsubsurface-ece714556fa2403dddec481a7a09d68eb82e84fa.tar.gz
Look for actual isobaric counter diffusion
Identify segements that fullfill the folllowing criteria for the leading compartment: He is off-gasing while N2 is on-gasing Overall there is on-gasing Add a line to the info box for those segments Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h
index f81423f24..acbb6eb27 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -896,6 +896,7 @@ struct deco_state {
int ci_pointing_to_guiding_tissue;
double gf_low_pressure_this_dive;
int deco_time;
+ bool icd_warning;
};
extern void add_segment(struct deco_state *ds, double pressure, const struct gasmix *gasmix, int period_in_seconds, int setpoint, const struct dive *dive, int sac);