summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2015-08-22 14:41:53 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-23 07:21:17 -0700
commit634e69866464c986c09dcbacfdabdede1c102b25 (patch)
tree5c2bb470ee8996824876770233a9ce5bb4db6a93 /deco.c
parent898ea6acb541d76b86320538ae56c9fcd6f151be (diff)
downloadsubsurface-634e69866464c986c09dcbacfdabdede1c102b25.tar.gz
VPM-B: Calculate first_stop_pressure before starting ascent
The Boyle's law compensation depends on first_stop_pressure. To produce profiles similar to other VPM-B implementations, we should calculate it as the ceiling before starting the ascent. Commit 159c9eb2c1c19dfbf650f2b0cc28e0ef1f45c964, Compare ceiling to next stop rather than try to ascent for VPM-B, changed (VPM-B) to consider the current ceiling rather than an incremental ascent between one stop level and the next. However, the initial ascent generally steps through several stop levels, so first_stop_pressure was still not calculated as the ceiling prior to commencing the calculated ascent. Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
0 files changed, 0 insertions, 0 deletions