Go to the documentation of this file.
46 #ifndef faceMDLimitedGrad_H
47 #define faceMDLimitedGrad_H
84 const scalar maxDelta,
85 const scalar minDelta,
86 const scalar extrapolate
110 k_(readScalar(schemeData))
112 if (k_ < 0 || k_ > 1)
115 <<
"coefficient = " << k_
116 <<
" 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)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const fvMesh & mesh() const
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
word name(const expressions::valueTypeCode typeCode)
#define FatalIOErrorInFunction(ios)
Generic GeometricField class.
faceMDLimitedGrad(const fvMesh &mesh, Istream &schemeData)
tmp< areaScalarField > limiter(const areaScalarField &phi)
TypeName("faceMDLimited")