mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use gradient factors in deco calculation
Usually dive computers show the ceiling in terms of the next deco stop - and those are in 3m increments. This commit also adds the ability to chose either the typical 3m increments or the smooth ceiling that the Bühlmann algorithm actually calculates. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
aab67e2a5b
commit
5ba250bd48
5 changed files with 86 additions and 13 deletions
2
dive.h
2
dive.h
|
@ -574,7 +574,7 @@ extern void subsurface_command_line_exit(gint *, gchar ***);
|
|||
|
||||
extern double add_segment(double pressure, struct gasmix *gasmix);
|
||||
extern void clear_deco(void);
|
||||
|
||||
extern unsigned int deco_allowed_depth(double tissues_tolerance, double surface_pressure, struct dive *dive, gboolean smooth);
|
||||
#ifdef DEBUGFILE
|
||||
extern char *debugfilename;
|
||||
extern FILE *debugfile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue