47 #ifndef limitedLnGrad_H 48 #define limitedLnGrad_H 102 limitCoeff_(readScalar(is))
104 if (limitCoeff_ < 0 || limitCoeff_ > 1)
107 <<
"limitCoeff is specified as " << limitCoeff_
108 <<
" but should be >= 0 && <= 1" Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
const edgeScalarField & deltaCoeffs() const
Return reference to difference factors array.
limitedLnGrad(const faMesh &mesh)
Construct from mesh.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction(const GeometricField< Type, faPatchField, areaMesh > &) const
Return the explicit correction to the limitedLnGrad.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
TypeName("limited")
Runtime type information.
Generic GeometricField class.
Abstract base class for lnGrad schemes.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
bool orthogonal() const
Return whether mesh is orthogonal or not.
const faMesh & mesh() const
Return mesh reference.
virtual tmp< edgeScalarField > deltaCoeffs(const GeometricField< Type, faPatchField, areaMesh > &) const
Return the interpolation weighting factors for the given field.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Central-difference lnGrad scheme with limited non-orthogonal correction.
A class for managing temporary objects.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...