VPM-B: add vpm-b based deco checking.

Check during the trial_ascent() if existing pressure gradient is
smaller than previously calculated max gradient. If not, ascent
is impossible from the vpm-b's point of view.

Signed-off-by: Jan Darowski <jan.darowski@gmail.com>
This commit is contained in:
Jan Darowski 2015-07-03 23:24:20 +02:00
parent fad592e43a
commit e7aa686f16
3 changed files with 21 additions and 1 deletions

1
dive.h
View file

@ -785,6 +785,7 @@ extern void cache_deco_state(double, char **datap);
extern double restore_deco_state(char *data);
extern void nuclear_regeneration(double time);
extern void vpmb_start_gradient();
extern bool is_vpmb_ok(double pressure);
/* this should be converted to use our types */
struct divedatapoint {