40 #ifndef Foam_divScheme_H 41 #define Foam_divScheme_H 95 virtual const word&
type()
const = 0;
145 static tmp<divScheme<Type>>
New 159 const fvMesh&
mesh()
const 187 #define makeFvDivTypeScheme(SS, Type) \ 188 defineNamedTemplateTypeNameAndDebug(Foam::fv::SS<Foam::Type>, 0); \ 194 divScheme<Type>::addIstreamConstructorToTable<SS<Type>> \ 195 add##SS##Type##IstreamConstructorToTable_; \ 199 #define makeFvDivScheme(SS) \ 201 makeFvDivTypeScheme(SS, vector) \ 202 makeFvDivTypeScheme(SS, sphericalTensor) \ 203 makeFvDivTypeScheme(SS, symmTensor) \ 204 makeFvDivTypeScheme(SS, tensor) divScheme(const divScheme &)=delete
No copy construct.
Abstract base class for div schemes.
tmp< surfaceInterpolationScheme< Type > > tinterpScheme_
Reference counter for various OpenFOAM components.
Forwards and collection of common volume field types.
void operator=(const divScheme &)=delete
No copy assignment.
Central-differencing interpolation scheme class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
declareRunTimeSelectionTable(tmp, divScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
Generic GeometricField class.
static tmp< divScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new divScheme created on freestore.
A class for handling words, derived from Foam::string.
const fvMesh & mesh() const
Return mesh reference.
virtual const word & type() const =0
Runtime type information.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
virtual ~divScheme()=default
Destructor.
Mesh data needed to do the Finite Volume discretisation.
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, fvPatchField, volMesh > > fvcDiv(const GeometricField< Type, fvPatchField, volMesh > &)=0
Macros to ease declaration of run-time selection tables.
Abstract base class for finite volume calculus div schemes.
A class for managing temporary objects.
typeOfRank< typename pTraits< vector >::cmptType, direction(pTraits< vector >::rank)+direction(pTraits< Type >::rank) - 2 >::type type
Abstract base class for surface interpolation schemes.
bool eof() const noexcept
True if end of input seen.