diff options
author | willem ferguson <willemferguson@zoology.up.ac.za> | 2014-08-30 17:46:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-09-11 08:32:10 -0700 |
commit | d1c521ce5ef6521c762a6e343c6fa9e878859cfd (patch) | |
tree | 507aa575e87d72ce6d6c95febfb50678f6492d97 /translations/subsurface_ro_RO.ts | |
parent | 7bf65e3f0bad9a2c2c1c55d0999dfeabfae922d2 (diff) | |
download | subsurface-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 'translations/subsurface_ro_RO.ts')
0 files changed, 0 insertions, 0 deletions