summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-08 21:46:27 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-09 09:31:05 +0800
commit0d93470c50e6ebaa0128ba182a94090d6d000278 (patch)
treed52ffef3354bdd6c97fbd32d881ce54d168db4a3 /dive.c
parent262bc9c84b1ab04934e84d6671e6a2b7c19c9af3 (diff)
downloadsubsurface-0d93470c50e6ebaa0128ba182a94090d6d000278.tar.gz
Change fake profile behavior
If no average depth is known the current fake profile behavior is rather unintuitive (we make up an average depth). Instead we should assume that this is a PADI style dive log and give the user a "rectangular" profile (actually, it's a trapecoid as we at least try to enforce a sane ascent / descent speed). If the dive is somewhat longer or deeper (10 min / 10 m) we even add a 3m safety stop at 5m. Added a new dives/test0b that tries to capture the typical cases to test this. Fixes #398 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
0 files changed, 0 insertions, 0 deletions