Go to the documentation of this file.
82 virtual const word&
type()
const = 0;
191 #define makeFvGradTypeScheme(SS, Type) \
192 defineNamedTemplateTypeNameAndDebug(Foam::fv::SS<Foam::Type>, 0); \
198 gradScheme<Type>::addIstreamConstructorToTable<SS<Type> > \
199 add##SS##Type##IstreamConstructorToTable_; \
204 #define makeFvGradScheme(SS) \
206 makeFvGradTypeScheme(SS, scalar) \
207 makeFvGradTypeScheme(SS, vector)
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual ~gradScheme()
Destructor.
A class for handling words, derived from 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, int(pTraits< arg1 >::rank)+int(pTraits< arg2 >::rank) >::type type
gradScheme(const gradScheme &)
Disallow copy construct.
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > calcGrad(const GeometricField< Type, fvPatchField, volMesh > &, const word &name) const =0
Calculate and return the grad of the given field.
virtual const word & type() const =0
Runtime type information.
static tmp< gradScheme< Type > > New(const fvMesh &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)....
const fvMesh & mesh() const
Return mesh reference.
Abstract base class for gradient schemes.
Mesh data needed to do the Finite Volume discretisation.
void operator=(const gradScheme &)
Disallow default bitwise assignment.
Macros to ease declaration of run-time selection tables.
gradScheme(const fvMesh &mesh)
Construct from mesh.
Generic GeometricField class.
declareRunTimeSelectionTable(tmp, gradScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
word name(const complex &)
Return a string representation of a complex.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvPatchField, volMesh > &, const word &name) const
Calculate and return the grad of the given field.