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"
Generic GeometricField class.
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.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
edgeLimitedGrad gradient scheme applied to a runTime selected base gradient scheme.
TypeName("edgeLimited")
RunTime type information.
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.
edgeLimitedGrad(const faMesh &mesh, Istream &schemeData)
Construct from mesh and schemeData.
Abstract base class for finite area calculus gradient schemes.
static tmp< gradScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return a pointer to a new gradScheme created on freestore.
const faMesh & mesh() const
Return mesh reference.
A class for managing temporary objects.
type
Volume classification types.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< areaScalarField > limiter(const areaScalarField &phi)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.