diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2015-08-30 22:41:54 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-30 16:55:36 -0700 |
commit | 2c4ae23ccc5d968074f549794f40380ec2f68800 (patch) | |
tree | 69502d1665e9cf1e2333a30f42b0a08aa3684abd /qt-ui | |
parent | 9238a7f0dfccfe97bc0bf0bba983fadf70035c48 (diff) | |
download | subsurface-2c4ae23ccc5d968074f549794f40380ec2f68800.tar.gz |
VPM-B: Get rid of ugly blips in ceiling
A real ceiling is the ceiling calculated when the ambient pressure is at the
ceiling. As such, the Boyle's law compensation should be done against the
ambient pressure at the ceiling. Instead of doing an iterative calculation,
take the lesser ambient pressure of the ceiling of the previous sample, and the
depth of the current sample.
This approach gets rid of "blips" in the calculated ceiling due to a step in
Boyle's law compensation during ascent. In limited testing, it also appears to
avoid creating a ceiling deeper than the calculated plan in most cases.
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
0 files changed, 0 insertions, 0 deletions