[PATCH 2/2] Add initial rudimentary no-fly time calculation
Robert C. Helling
helling at lmu.de
Fri Feb 8 08:45:15 PST 2013
On Fri, 8 Feb 2013, Robert C. Helling wrote:
>
> Hmm.
> [...]
> Hmm.
>
> There was about an hour between typing these two Hmms in which I convinced
> myself that a) what you write is indeed the case for the current code and b)
> I still think that it should be as I said earlier.
>
> This worries me a lot (regarding correctness of the deco calculation) and I
> will look into this.
>
> Just not now, as I have some real work to do before the weekend comes. I hope
> to find some time tonight, if not over the weekend.
[swearword]. I couldn't leave it alone and spend my whole afternoon on it.
I did some analytical calculations to find expressions for maximal tissue
loadings at flying pressure, computed the derivative w.r.t. gf_low,
convinced myself that it is negative...wrote some debugging code (see
attachment, but don't use, it produces tons of printout).
Then I found the problem: tissue_tolerance_calc() assumes to find the
surface pressure as
double surface = dive->dc.surface_pressure.mbar / 1000.0;
Except that seems not to be set, at least it always reads a 0.0. Where
should that be set? Shall we always set it to 1013mbar or do we do
something better?
Best
Robert
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
Scientific Coordinator
Ludwig Maximilians Universitaet Muenchen, Dept. Physik
print "Just another Phone: +49 89 2180-4523 Theresienstr. 39, rm. B339
stupid .sig\n"; http://www.atdotde.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noflydebug.patch
Type: text/x-diff
Size: 9747 bytes
Desc:
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130208/fada7735/attachment.patch>
More information about the subsurface
mailing list