53 return x*(
x*
a() +
b()) +
c();
67 + SMALL*(
mag(
x*(
x*a() +
b())) +
mag(c()));
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
static const quadraticEqn zero
scalar c() const noexcept
scalar value(const scalar x) const
Evaluate the quadratic equation at x.
scalar derivative(const scalar x) const
Evaluate the derivative of the quadratic equation at x.
scalar a() const noexcept
quadraticEqn()=default
Default construct.
scalar b() const noexcept
scalar error(const scalar x) const
Estimate the error of evaluation of the quadratic equation at x.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)