diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-24 10:50:18 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-24 11:09:52 -0800 |
commit | 6d548d20285bce74f1a75f2623d55094871c1a81 (patch) | |
tree | 014695b2b03927e6251e72a40bec7c545b1ac1e2 /dives/test16.xml | |
parent | f4bf16d5db5151a9b1a2fc1523ec930baf98e9b3 (diff) | |
download | subsurface-6d548d20285bce74f1a75f2623d55094871c1a81.tar.gz |
Correctly calculate SAC rate in the presense of surface events
This assumes that you are not breathing your cylinders while at the
surface, which may or may not be correct, but is usually the right
thing. Regardless, we're better off giving a conservative (higher) SAC
rate estimate for a diver that breathes his cylinder at the surface too
than giving an artificially low one because the diver ended up using his
snorkel and we didn't take that into account.
NOTE! This basically calculates a better duration and average depth than
the ones we end up showing in the dive list. Maybe we should actually
show this "no-surface-time" duration and average depth instead of the
ones we do show?
That's a separate question, though.
Added a test-case for the surface case to the sac-test.xml dives.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test16.xml')
0 files changed, 0 insertions, 0 deletions