Go to the documentation of this file.
48 #ifndef limitedSnGrad_H
49 #define limitedSnGrad_H
88 token nextToken(schemeData);
108 return tcorrectedScheme;
136 if (limitCoeff_ < 0 || limitCoeff_ > 1)
142 <<
" but should be >= 0 && <= 1"
const surfaceScalarField & nonOrthDeltaCoeffs() const
Return reference to non-orthogonal cell-centre difference.
A class for managing temporary objects.
tmp< snGradScheme< Type > > correctedScheme_
A token holds items read from Istream.
TypeName("limited")
Runtime type information.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the limitedSnGrad.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void operator=(const limitedSnGrad &)
Disallow default bitwise assignment.
limitedSnGrad(const fvMesh &mesh, Istream &schemeData)
Construct from mesh and data stream.
Mesh data needed to do the Finite Volume discretisation.
virtual ~limitedSnGrad()
Destructor.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const fvMesh & mesh() const
Return mesh reference.
Run-time selected snGrad scheme with limited non-orthogonal correction.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
void putBack(const token &)
Put back token.
Simple central-difference snGrad scheme with non-orthogonal correction.
Abstract base class for snGrad schemes.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
limitedSnGrad(const fvMesh &mesh)
Construct from mesh.
Generic GeometricField class.
virtual tmp< surfaceScalarField > deltaCoeffs(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors for the given field.
tmp< snGradScheme< Type > > lookupCorrectedScheme(Istream &schemeData)
Lookup function for the corrected to support backward compatibility.