diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 11:05:22 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-04 11:05:22 -0700 |
commit | 9874a97ed561459a2a290e1dbbe2b9c9d1bed4da (patch) | |
tree | 0ab0f5b9ed92527d50ee86340ff50504dcb15878 /profile.c | |
parent | c92bb9e02171d884c50dd3f8b4e57d963c2e7935 (diff) | |
download | subsurface-9874a97ed561459a2a290e1dbbe2b9c9d1bed4da.tar.gz |
Make bigger steps when calculating TTS
[Dirk Hohndel: this was sent ages ago and in all the discussions about the
implications I apparently never applied this]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1017,7 +1017,7 @@ static void calculate_ndl_tts(double tissue_tolerance, struct plot_data *entry, const int ascent_s_per_deco_step = 1; const int ascent_mm_per_deco_step = 16; /* 1 m/min */ /* how long time steps in deco calculations? */ - const int time_stepsize = 10; + const int time_stepsize = 60; const int deco_stepsize = 3000; /* at what depth is the current deco-step? */ int next_stop = ROUND_UP(deco_allowed_depth(tissue_tolerance, surface_pressure, dive, 1), deco_stepsize); |