[PATCH] Add a simple table-based otu-calculator
Anton Lundin
glance at acc.umu.se
Tue Apr 2 22:59:56 PDT 2013
On 02 April, 2013 - Dirk Hohndel wrote:
> Anton Lundin <glance at acc.umu.se> writes:
>
> > For dives where divecomputers haven't provided us with a maxCNS, we
> > calculate our cns accumulated during that dive based on a simple table.
>
> This doesn't take multiple dives into account at all.
>
> According to http://www.therebreathersite.nl/04_Links/Downloads/cns.pdf
> it is common practice to calculate a surface decay as exponential decay
> with a half-time of 90 minutes. Which means that in typical boat diving
> the CNS value from the previous dive will have significant impact on the
> next dive.
( And now to the whole list.. )
Yep.
This patch was more in the area of RFC, sorry for not putting that in
subject.
I started out with single dive calculations, and currently trying
to figure out where to store the CNS information, so we can propagate it
in-between the dives.
My current guess is to shoe-horn it into init_decompression somehow, or
trying to propagate it in fill_dive_list.
Does those sound like a acceptable ideas?
//Anton
--
Anton Lundin +46702-161604
More information about the subsurface
mailing list