Go to the documentation of this file.
86 virtual const word&
type()
const = 0;
195 #define makeFvGradTypeScheme(SS, Type) \
196 defineNamedTemplateTypeNameAndDebug(Foam::fv::SS<Foam::Type>, 0); \
202 gradScheme<Type>::addIstreamConstructorToTable<SS<Type>> \
203 add##SS##Type##IstreamConstructorToTable_; \
208 #define makeFvGradScheme(SS) \
210 makeFvGradTypeScheme(SS, scalar) \
211 makeFvGradTypeScheme(SS, vector)
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
Reference counter for various OpenFOAM components.
Mesh data needed to do the Finite Volume discretisation.
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > calcGrad(const GeometricField< Type, fvPatchField, volMesh > &, const word &name) const =0
virtual const word & type() const =0
static tmp< gradScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const fvMesh & mesh() const
Abstract base class for gradient schemes.
Mesh data needed to do the Finite Volume discretisation.
virtual ~gradScheme()=default
Macros to ease declaration of run-time selection tables.
word name(const expressions::valueTypeCode typeCode)
gradScheme(const fvMesh &mesh)
Generic GeometricField class.
declareRunTimeSelectionTable(tmp, gradScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvPatchField, volMesh > &, const word &name) const