55 return x*(
x*(
x*a() +
b()) +
c()) + d();
61 return x*(
x*3*a() + 2*
b()) +
c();
70 + SMALL*(
mag(
x*(
x*(
x*a() +
b()) +
c())) +
mag(d()));
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
cubicEqn()=default
Default construct.
scalar error(const scalar x) const
Estimate the error of evaluation of the cubic equation at x.
Container to encapsulate various operations for cubic equation of the forms with real coefficients: ...
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
scalar derivative(const scalar x) const
Evaluate the derivative of the cubic equation at x.
const dimensionedScalar c
Speed of light in a vacuum.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
const dimensionedScalar & D
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
scalar value(const scalar x) const
Evaluate the cubic equation at x.
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)