53 return x*(
x*a() +
b()) +
c();
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
scalar error(const scalar x) const
Estimate the error of evaluation of the quadratic equation at x.
quadraticEqn()=default
Default construct.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
scalar derivative(const scalar x) const
Evaluate the derivative of the quadratic equation at x.
Container to encapsulate various operations for quadratic equation of the forms with real coefficient...
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 ...
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
scalar value(const scalar x) const
Evaluate the quadratic equation at x.