[PATCH 3/2] gas model: add polynomials for Z factors of oxygen/nitrogen/helium

Lubomir I. Ivanov neolit123 at gmail.com
Wed Mar 2 16:49:53 PST 2016


On 3 March 2016 at 02:39, Linus Torvalds <torvalds at linux-foundation.org> wrote:
>
> Lubomir - can you double-check that I didn't screw up your work when I
> edited the coefficients into the array-based format?
>


> +
> +static const double he_coefficients[6] = {
> +       +0.9998700261301693,
> +       +0.0005452130351730479,
> +       +2.7853712233619e-7,

^ i think i found only this one; should be with a minus sign:

-2.7853712233619e-7*x^2

original (helium, quint):
----------------------------
y = 0.9998700261301693 + 0.0005452130351730479*x -
2.7853712233619e-7*x^2 + 5.5935404211e-10*x^3 - 1.35114572e-12*x^4 +
2.00476e-15*x^5
----------------------------

lubomir
--


More information about the subsurface mailing list