46 #ifndef faceLimitedFaGrad_H 47 #define faceLimitedFaGrad_H 100 k_(readScalar(schemeData))
102 if (k_ < 0 || k_ > 1)
105 <<
"coefficient = " << k_
106 <<
" should be >= 0 and <= 1" 117 const Type& maxDelta,
118 const Type& minDelta,
119 const Type& extrapolate
faceLimitedGrad gradient scheme applied to a runTime selected base gradient scheme.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
TypeName("faceLimited")
RunTime type information.
const faMesh & mesh() const
Return mesh reference.
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
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.
A class for managing temporary objects.
static void limitEdge(Type &limiter, const Type &maxDelta, const Type &minDelta, const Type &extrapolate)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...