60 return SMALL*(
mag(
x*a()) +
mag(
b()));
66 const scalar a = this->a();
67 const scalar
b = this->
b();
73 else if (
mag(
b/VGREAT) >=
mag(a))
dimensionedScalar sign(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
scalar value(const scalar x) const
Evaluate the linear equation at x.
scalar error(const scalar x) const
Estimate the error of evaluation of the linear equation at x.
Container to encapsulate various operations for linear equation of the forms with real coefficients: ...
linearEqn()=default
Default construct.
Roots< 1 > roots() const
Return the real root of the linear equation.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
scalar derivative(const scalar x) const
Evaluate the derivative of the linear equation at x.
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)