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))
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
Class to handle errors and exceptions in a simple, consistent stream-based manner.
Container to encapsulate various operations for linear equation of the forms with real coefficients:
linearEqn()
Construct null.
scalar value(const scalar x) const
Evaluate the linear equation at x.
scalar derivative(const scalar x) const
Evaluate the derivative of the linear equation at x.
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 ...
dimensionedScalar sign(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)