[CCR PATCH] PO2 Calculations extracted to separate function.

Willem Ferguson willemferguson at zoology.up.ac.za
Sun Sep 14 11:39:21 PDT 2014


Two patches:

1) CCR PATCH: PO2 calculations.

This patch takes the po2 calculations in calculate_gas_information()
and puts these in a separate function calc_po2(). This was suggested
by Robert Helling. Several variables are required to do this calcu-
lation, passed to the function as a pointer to a structure defined
in profile.h

Calculation of po2 in CCR dive logs, implemented in future patches,
will take place within calc_po2().

Signed-off-by: willem ferguson <willemferguson at zoology.up.ac.za>

2) PATCH: Remove a debug #define

A #define that triggers debug output is removed from gaspressures.c.
This debug option pertains to output from CCR dive logs.

Signed-off-by: willem ferguson <willemferguson at zoology.up.ac.za>


I hope the whitespace problem has now been sorted out.

Kind regards,
willemf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-PATCH-Remove-a-debug-define.patch
Type: text/x-diff
Size: 784 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140914/53c097c2/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CCR-PATCH-PO2-calculations.patch
Type: text/x-diff
Size: 6342 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140914/53c097c2/attachment-0001.patch>


More information about the subsurface mailing list