From 02f13399177d301c9a1242ce0d342b7c91dd28fd Mon Sep 17 00:00:00 2001 From: Jan Darowski Date: Fri, 3 Jul 2015 23:54:57 +0200 Subject: VPM-B: vpm without CVA working. Add call of initial calculation of critical radius and start gradient, so the VPM could work. Currently without CVA, so the gradient isn't improved. Only one iteration is run. Signed-off-by: Jan Darowski --- planner.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'planner.c') diff --git a/planner.c b/planner.c index 0307ea89c..700985052 100644 --- a/planner.c +++ b/planner.c @@ -1023,6 +1023,11 @@ bool plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool (get_o2(&gas) + 5) / 10, (get_he(&gas) + 5) / 10, gaschanges[best_first_ascend_cylinder].depth / 1000.0); #endif } + + // VPM-B or Buehlmann Deco + nuclear_regeneration(clock); + vpmb_start_gradient(); + while (1) { /* We will break out when we hit the surface */ do { -- cgit v1.2.3-70-g09d2