Go to the documentation of this file.
88 return SMALL*(
mag(
x*a()) +
mag(
b()));
94 const scalar a = this->a();
95 const scalar
b = this->
b();
101 else if (
mag(
b/VGREAT) >=
mag(a))
scalar derivative(const scalar x) const
Evaluate the derivative of the linear equation at x.
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
dimensionedScalar sign(const dimensionedScalar &ds)
Container to encapsulate various operations for linear equation of the forms with real coefficients:
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
scalar value(const scalar x) const
Evaluate the linear equation at x.
linearEqn()
Construct null.
Roots< 1 > roots() const
Return the real root of the linear equation.
scalar error(const scalar x) const
Estimate the error of evaluation of the linear equation at x.
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...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...