Go to the documentation of this file.
42 #ifndef edgeLimitedFaGrad_H
43 #define edgeLimitedFaGrad_H
79 const scalar maxDelta,
80 const scalar minDelta,
81 const scalar extrapolate
105 k_(readScalar(schemeData))
107 if (k_ < 0 || k_ > 1)
110 <<
"coefficient = " << k_
111 <<
" should be >= 0 and <= 1"
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
A class for managing temporary objects.
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
const faMesh & mesh() const
Return mesh reference.
edgeLimitedGrad(const faMesh &mesh, Istream &schemeData)
Construct from mesh and schemeData.
edgeLimitedGrad gradient scheme applied to a runTime selected base gradient scheme.
static tmp< gradScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return a pointer to a new gradScheme created on freestore.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh data needed to do the Finite Area discretisation.
Abstract base class for finite area calculus gradient schemes.
errorManipArg< error, int > exit(error &err, const int errNo=1)
TypeName("edgeLimited")
RunTime type information.
Finite area mesh. Used for 2-D non-Euclidian finite area method.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Generic GeometricField class.
tmp< areaScalarField > limiter(const areaScalarField &phi)
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.