[PULL REQUEST] VPM-B

Lutz Vieweg lvml at 5t9.de
Sun Aug 16 14:53:37 PDT 2015


On 08/15/2015 04:11 PM, Jan Darowski wrote:
>        VPM-B: Add simple Boyle's law compensation.     This is a very
> basic implementation that uses bin search for solving the cubic.

Why do you iterate to some imprecise numerical solution when you can
compute the root precisely, algebraicly, without iterating? - See:
> https://en.wikipedia.org/wiki/Cubic_function#Roots_of_a_cubic_function

Regards,

Lutz Vieweg




More information about the subsurface mailing list