43 #ifndef edgeLimitedFaGrad_H 44 #define edgeLimitedFaGrad_H 81 const scalar maxDelta,
82 const scalar minDelta,
83 const scalar extrapolate
109 k_(readScalar(schemeData))
111 if (k_ < 0 || k_ > 1)
114 <<
"coefficient = " << k_
115 <<
" 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 ...
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)...
edgeLimitedGrad(const edgeLimitedGrad &)=delete
No copy construct.
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)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
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.
void operator=(const edgeLimitedGrad &)=delete
No copy assignment.
const faMesh & mesh() const noexcept
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.
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.