63 #ifndef cubicGradientLimiter_H 64 #define cubicGradientLimiter_H 74 namespace gradientLimiters
102 b_(-(3.0/2.0)*a_*rt_ - (1.0/2.0)/rt_)
109 ) <<
"coefficient = " << rt_
118 inline scalar
limiter(
const scalar r)
const 122 return ((a_*r + b_)*r + 1)*r;
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
scalar limiter(const scalar r) const
cubic(Istream &schemeData)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
dimensionedScalar pow3(const dimensionedScalar &ds)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.