47 #ifndef limitedLnGrad_H 48 #define limitedLnGrad_H 105 limitCoeff_(readScalar(is))
107 if (limitCoeff_ < 0 || limitCoeff_ > 1)
110 <<
"limitCoeff is specified as " << limitCoeff_
111 <<
" 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.
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.
const faMesh & mesh() const noexcept
Return mesh reference.
Abstract base class for lnGrad schemes.
void operator=(const limitedLnGrad &)=delete
No copy assignment.
limitedLnGrad(const limitedLnGrad &)=delete
No copy construct.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
bool orthogonal() const
Return whether mesh is orthogonal or not.
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 ...