[CCR PATCH] Create memory space for CCR gas pressures (part 2)

Willem Ferguson willemferguson at zoology.up.ac.za
Tue Aug 26 08:32:57 PDT 2014


Subject: [PATCH] CCR patch: Create memory space to store cylinder pressures

This ADDS TO a previous patch with the same title.

This patch creates memory space to store both the cylinder pressure of the
diluent cylinder as well as the oxygen partial pressures of up to four
oxygen sensors. This is accomplished within profile.h
1) To the plot_data structure, add:
    a) an array diluentpressure[2] to store diluent pressures
    b) create o2setpoint and o2sensor[4] to store oxygen partial pressures
2) Define a constant and prototypes to access the cylinder pressures
    and their corresponding interpolated values.

Signed-off-by: Willem Ferguson <willemferguson at zoology.up.ac.za>

This patch should be read with the first patch that was sent under this 
title, today.

I am pretty sure I followed the correct procedure in creating the patch 
file, but I am not
convinced the two diff files (present patch and previous patch under the 
same title)
add up to what the present profile.h looks like on my computer (e.g. 
variable tts).
Therefore I include the file profile.h as a reference. This is what the 
file looks
like at the moment on my system.

Please let me know if I can make anything more clear.
wf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-CCR-patch-Create-memory-space-to-store-cylinder-pres.patch
Type: text/x-diff
Size: 2380 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140826/fe30bad9/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile.h
Type: text/x-chdr
Size: 2991 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140826/fe30bad9/attachment-0001.h>


More information about the subsurface mailing list