On Mon, Sep 15, 2014 at 04:05:12PM +0200, Robert Helling wrote:
> 
> On 15.09.2014, at 12:09, Robert Helling <hell...@atdotde.de> wrote:
> 
> Hi everybody,
> 
> > To me, it would make much more sense to have a helper function that returns 
> > all three partial pressures given a gas mix and an ambient pressure (and a 
> > measured pO2 and possibly another variable indicating the type of dive i.e. 
> > OC, CCR or PSCR).
> > 
> > BTW, code with a similar function (i.e. get partial pressures from an 
> > ambient pressure and gas mix) are also found in add_segemnt in deco.c. 
> > There, you also want to use your helper functions.
> > 
> 
> 
> this patch demonstrates how I would do this.

That looks really useful. I'll push this in a few minutes when I'm done
searching for all the other patches that I've missed :-/

/D
_______________________________________________
subsurface mailing list
subsurface@hohndel.org
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to