43 #ifndef edgeLimitedFaGrad_H 44 #define edgeLimitedFaGrad_H 80 const scalar maxDelta,
81 const scalar minDelta,
82 const scalar extrapolate
106 k_(readScalar(schemeData))
108 if (k_ < 0 || k_ > 1)
111 <<
"coefficient = " << k_
112 <<
" should be >= 0 and <= 1" Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
const faMesh & mesh() const
Return mesh reference.
errorManipArg< error, int > exit(error &err, const int errNo=1)
edgeLimitedGrad gradient scheme applied to a runTime selected base gradient scheme.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
Generic GeometricField class.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
tmp< areaScalarField > limiter(const areaScalarField &phi)
A class for handling words, derived from Foam::string.
Abstract base class for finite area calculus gradient schemes.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Mesh data needed to do the Finite Area discretisation.
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > > calcGrad(const GeometricField< Type, faPatchField, areaMesh > &vsf, const word &name) const
Return the gradient of the given field to the gradScheme::grad for optional caching.
A class for managing temporary objects.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
TypeName("edgeLimited")
RunTime type information.