aboutsummaryrefslogtreecommitdiffstats
path: root/icons/advanced.png
diff options
context:
space:
mode:
authorGravatar willem ferguson <willemferguson@zoology.up.ac.za>2014-08-30 17:46:47 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-11 08:32:10 -0700
commitd1c521ce5ef6521c762a6e343c6fa9e878859cfd (patch)
tree507aa575e87d72ce6d6c95febfb50678f6492d97 /icons/advanced.png
parent7bf65e3f0bad9a2c2c1c55d0999dfeabfae922d2 (diff)
downloadsubsurface-d1c521ce5ef6521c762a6e343c6fa9e878859cfd.tar.gz
CCR patch: adapt code for diluent cylinder pressures (3)
This patch implements the cylinder pressure calculations for diluent gas in CCR dive computers. This is the third patch for achieving this. The following were performed: 1) Add two lines to try_to_fill_sample() in parse-xml so that diluent cylinder pressures are stored from XML dive log file into structures of sample. 2) Add one line to populate_plot_entries() in profile.c so that the diluent cylinder pressures are copied from structures of sample to structures of plot_info. 3) add three constant #defines in profile.h 4) change populate_pressure_information() in gaspressures.c in order to take into account pressure calculations for the diluent cylinder, calling subordinate functions in the appropriate way. 5) change create_plot_info_new() in profile.c in order to initiate the pressure calculations for the diluent cylinder. 6) Implement two debugging functions (one in profile.c, another in gaspressures.c). These debugging functions are activated by means of #defines. Two function calls dealing with oxygen pressure are currently commented out. They will be activated in the following patch that attends to CCR oxygen partial pressure calculation. [Dirk Hohndel: rather massive whitespace cleanup] Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'icons/advanced.png')
0 files changed, 0 insertions, 0 deletions