45 #ifndef faceLimitedFaGrad_H 46 #define faceLimitedFaGrad_H 99 k_(readScalar(schemeData))
101 if (k_ < 0 || k_ > 1)
104 <<
"coefficient = " << k_
105 <<
" should be >= 0 and <= 1" 116 const Type& maxDelta,
117 const Type& minDelta,
118 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.
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > > grad(const GeometricField< Type, faPatchField, areaMesh > &) const
Calculate and return the grad of the given field.
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...
tmp< areaScalarField > limiter(const areaScalarField &phi)
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 ...