mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
e7aa686f16
commit
02f1339917
1 changed files with 5 additions and 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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue