aboutsummaryrefslogtreecommitdiffstats
path: root/core/deco.h
blob: bfedd6046e75a65dd6c70ce59152e5acdddcd9f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef DECO_H
#define DECO_H

#ifdef __cplusplus
extern "C" {
#endif

extern double tolerated_by_tissue[];
extern double buehlmann_N2_t_halflife[];
extern double tissue_inertgas_saturation[16];
extern double buehlmann_inertgas_a[16], buehlmann_inertgas_b[16];
extern double gf_low_pressure_this_dive;

extern int deco_allowed_depth(double tissues_tolerance, double surface_pressure, struct dive *dive, bool smooth);

double get_gf(double ambpressure_bar, const struct dive *dive);

#ifdef __cplusplus
}
#endif

#endif // DECO_H