aboutsummaryrefslogtreecommitdiffstats
path: root/translations/subsurface_source.ts
diff options
context:
space:
mode:
authorGravatar Willem Ferguson <willemferguson@zoology.up.ac.za>2018-01-28 17:44:54 +0200
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-02-02 13:14:09 +0100
commit5416fc7afb8417d04679b6f90f8668c5c9746cb8 (patch)
tree9e576113c03b33d9b69ca73db99f68a7130c6e80 /translations/subsurface_source.ts
parent6a53ec69ae7ec101a6a239221c64255126b5883f (diff)
downloadsubsurface-5416fc7afb8417d04679b6f90f8668c5c9746cb8.tar.gz
Print icd data only when it is really needed
Reduce the impact and visibility of icd calculations by writing the data to the planner output only in cases where gas switches involve: 1) ascent 2) helium is used as part of breathing gas 3) gas switch results in an increase in partial pressure of nitrogen. Coding change: 1) The code for writing the header of the icd table as well as the inclusion of the data in the planner output is made conditional on the above three requirements. This involves moving the code that writes the table header into the function that writes an icd data item to buffer. 2) Manipulation of a boolean variable that controls writing of the table header to buffer and that also determines whether any icd results should be inluded in the planner results. 3) Reorganise comments so that there are not multiple tabs between the code and the start of a comment. Correct type and insert braces where important Signed-off-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
Diffstat (limited to 'translations/subsurface_source.ts')
0 files changed, 0 insertions, 0 deletions