diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-11-12 23:09:59 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-13 11:55:49 +0900 |
commit | c58dc29542f75f93fe19e1a3a2e116153c936804 (patch) | |
tree | c0c811fcfdd80097bd49571a695e94aaf0893b95 /qt-ui/tableview.h | |
parent | fc2c55dabdf7e2b434490771f5e96c60c762c93d (diff) | |
download | subsurface-c58dc29542f75f93fe19e1a3a2e116153c936804.tar.gz |
Break up calculate_deco_information
Break the huge calculate_deco_information into three different functions.
One for the current deco calculations, one for the ndl/tts/deco stop and
one for the gas calculations.
This makes it easier to disable/enable different functionality.
This also gets rid if the ccrdive state variable, and keeps that state
in the plot_data struct. Now we calculate the deco before we calculate
the gas properties, so if we have a po2, we're in ccr-mode, and if we
don't, we're in oc mode.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/tableview.h')
0 files changed, 0 insertions, 0 deletions