Go to the documentation of this file.
46 template<
class LimitedScheme>
61 <<
". Lower bound is higher than the upper bound."
71 const scalar lowerBound,
72 const scalar upperBound,
95 const scalar cdWeight,
96 const scalar faceFlux,
107 (faceFlux > 0 && (phiP < lowerBound_ || phiN >
upperBound_))
108 || (faceFlux < 0 && (phiN < lowerBound_ || phiP >
upperBound_))
LimitedScheme(const LimitedScheme &)
Disallow default bitwise copy construct.
virtual tmp< surfaceScalarField > limiter(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
Class to create NVD/TVD limited weighting-factors.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
scalar limiter(const scalar cdWeight, const scalar faceFlux, const scalar phiP, const scalar phiN, const vector &gradcP, const vector &gradcN, const vector &d) const
LimitedLimiter(const scalar lowerBound, const scalar upperBound, Istream &is)
scalar lowerBound_
Lower and upper bound of the variable.
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
void checkParameters(Istream &is)
LimitedLimiter(Istream &is)