Go to the documentation of this file.
45 #ifndef faceMDLimitedGrad_H
46 #define faceMDLimitedGrad_H
82 const scalar maxDelta,
83 const scalar minDelta,
84 const scalar extrapolate
108 k_(readScalar(schemeData))
110 if (k_ < 0 || k_ > 1)
113 <<
"coefficient = " << k_
114 <<
" should be >= 0 and <= 1"
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
Mesh data needed to do the Finite Volume discretisation.
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
faceMDLimitedGrad gradient scheme applied to a runTime selected base gradient scheme.
static tmp< gradScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new gradScheme created on freestore.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
word name(const complex &c)
Return string representation of complex.
const fvMesh & mesh() const
Return mesh reference.
Abstract base class for gradient schemes.
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > calcGrad(const GeometricField< Type, fvPatchField, volMesh > &vsf, const word &name) const
Return the gradient of the given field to the gradScheme::grad.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Generic GeometricField class.
faceMDLimitedGrad(const fvMesh &mesh, Istream &schemeData)
Construct from mesh and schemeData.
tmp< areaScalarField > limiter(const areaScalarField &phi)
TypeName("faceMDLimited")
RunTime type information.