107 return x*(
x*(
x*a() +
b()) + c()) + d();
113 return x*(
x*3*a() + 2*
b()) + c();
122 + SMALL*(
mag(
x*(
x*(
x*a() +
b()) + c())) +
mag(d()));
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
Graphite solid properties.
Container to encapsulate various operations for cubic equation of the forms with real coefficients:
cubicEqn()
Construct null.
scalar value(const scalar x) const
Evaluate the cubic equation at x.
scalar derivative(const scalar x) const
Evaluate the derivative of the cubic equation at x.
Class to handle errors and exceptions in a simple, consistent stream-based manner.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
const dimensionedScalar & D