Calculate gas use in recreational mode

Robert C. Helling helling at atdotde.de
Sat Apr 4 09:45:57 PDT 2015


Hi,

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Take-gas-consumption-into-account-for-recreational-mod.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150404/06006c41/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Spelling-corrected.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150404/06006c41/attachment-0001.txt>
-------------- next part --------------


this adds a gas use calculation to recreational mode. Now, we also ascent when we would run out of gas (using a reserve of 40bar and taking buddy breathing for the ascent into account).

This is only calculated if there is valid cylinder info (in particular cylinder volume and starting pressure). So, if the user wants to calculate with true NDL, the cylinder volume or the working pressure should be set to 0. (This remark is for the manual…)

And I fix an embarrassing typo.

Best
Robert



More information about the subsurface mailing list