[PULL REQUEST] VPM-B

Jan Darowski jan.darowski at gmail.com
Mon Aug 17 02:46:23 PDT 2015


> I think that currently first_stop is being calculated for each stop (so
> isn't actually first_stop) rather than just the first.  That's what it
> looked like from my limited running under gdb with a break every time
> first_stop is calculated, and printing the depth variable.
>
> To calculate the first stop for every cva iteration we need to be more
> clever than what my patch does, but I'm not sure you'll get a very different
> resulting plan. From my understanding, cva is significant for short deco /
> no deco dives, whereas Boyle's law compensation is significant for long deco
> dives.

I can't reproduce this. I've checked, there are only two places setting this
variable, the only place it's used is passing it to the boyles_law().
Printing it
there gives the same value several times...

-- 
Jan Darowski


More information about the subsurface mailing list