diff options
author | Jan Darowski <jan.darowski@gmail.com> | 2015-07-03 23:54:57 +0200 |
---|---|---|
committer | Jan Darowski <jan.darowski@gmail.com> | 2015-07-03 23:54:57 +0200 |
commit | 02f13399177d301c9a1242ce0d342b7c91dd28fd (patch) | |
tree | 1665c00c383d26a7c49259756d87b16b7c7db699 /planner.c | |
parent | e7aa686f1658e689d215397d4493859829965646 (diff) | |
download | subsurface-02f13399177d301c9a1242ce0d342b7c91dd28fd.tar.gz |
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 <jan.darowski@gmail.com>
Diffstat (limited to 'planner.c')
-rw-r--r-- | planner.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 { |