diff options
Diffstat (limited to 'src/deco.h')
-rw-r--r-- | src/deco.h | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -16,16 +16,9 @@ #define P_WV_SCHR 0.0493 /* Schreiner value, Rq = 0.8, most conservative */ #define ALGO_VER_DEFAULT ZHL_16C -#define UNITS_DEFAULT METRIC -#define SURFACE_PRESSURE_DEFAULT 1.01325 #define P_WV_DEFAULT P_WV_BUHL /* types */ -enum UNITS { - METRIC, - IMPERIAL, -}; - enum ALGO { ZHL_16A = 0, ZHL_16B = 1, @@ -47,24 +40,12 @@ typedef struct decostate_t { /* global variables */ extern enum ALGO ALGO_VER; -extern enum UNITS UNITS; -extern double SURFACE_PRESSURE; extern double P_WV; extern double PO2_MAX; extern double END_MAX; /* functions */ -double bar_to_msw(double bar); -double msw_to_bar(double msw); -double bar_to_fsw(double bar); -double fsw_to_bar(double msw); -double msw_or_fsw(double msw, double fsw); -double xsw_to_bar(double xsw); -double bar_to_xsw(double bar); -double abs_depth(double gd); -double gauge_depth(double ad); - void add_segment_ascdec(decostate_t *ds, double dstart, double dend, double time, const gas_t *gas); void add_segment_const(decostate_t *ds, double depth, double time, const gas_t *gas); double get_gf(const decostate_t *ds, double depth); |