Subsurface looping at end of download from DC
Dirk Hohndel
dirk at hohndel.org
Mon Oct 14 13:43:26 UTC 2013
On Mon, 2013-10-14 at 21:35 +0100, Tim Wootton wrote:
> On 14/10/13 21:05, Dirk Hohndel wrote:
>
> >> if (deco_allowed_depth(tissue_tolerance, surface_pressure, dive, 1)<=
> >> next_stop) {
> >>
> >> is never true.
> >
> > So what is the return of deco_allowed_depth()?
>
> 294790 (tissue_tolerance=1045.7861759884499, surface_pressure=1016 ,
> dive, 1)
>
> btw I missed a 0 off of the next_stop value, should have read 294000
294m or about 1000 ft.
That was some nice deep diving you did there :-)
So no, I don't think that the deco algorithm is wrong, I think that
there's some unit confusion regarding the depth of the dive :-)
> Interesting thing all these dives were already imported into my "real"
> xml file. Now I notice it in the parameters of this method I'm wondering
> if my patch to make surface pressure available for this DC is the
> culprit as that wouldn't have been available before.
Can you send me the XML file? I'm curious about the depth values in
it :-)
/D
More information about the subsurface
mailing list