91 virtual const word&
type()
const = 0;
185#define makeFvD2dt2TypeScheme(SS, Type) \
186 defineNamedTemplateTypeNameAndDebug(Foam::fv::SS<Foam::Type>, 0); \
192 d2dt2Scheme<Type>::addIstreamConstructorToTable<SS<Type>> \
193 add##SS##Type##IstreamConstructorToTable_; \
197#define makeFvD2dt2Scheme(SS) \
199makeFvD2dt2TypeScheme(SS, scalar) \
200makeFvD2dt2TypeScheme(SS, vector) \
201makeFvD2dt2TypeScheme(SS, sphericalTensor) \
202makeFvD2dt2TypeScheme(SS, symmTensor) \
203makeFvD2dt2TypeScheme(SS, tensor)
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 Volume discretisation.
Abstract base class for finite volume d2dt2 schemes.
void operator=(const d2dt2Scheme &)=delete
No copy assignment.
virtual tmp< fvMatrix< Type > > fvmD2dt2(const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)=0
d2dt2Scheme(const fvMesh &mesh, Istream &)
Construct from mesh and Istream.
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcD2dt2(const GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< fvMatrix< Type > > fvmD2dt2(const dimensionedScalar &, const GeometricField< Type, fvPatchField, volMesh > &)=0
d2dt2Scheme(const d2dt2Scheme &)=delete
No copy construct.
d2dt2Scheme(const fvMesh &mesh)
Construct from mesh.
static tmp< d2dt2Scheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new d2dt2Scheme created on freestore.
declareRunTimeSelectionTable(tmp, d2dt2Scheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
virtual ~d2dt2Scheme()=default
Destructor.
const fvMesh & mesh() const
Return mesh reference.
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcD2dt2(const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)=0
virtual const word & type() const =0
Runtime type information.
virtual tmp< fvMatrix< Type > > fvmD2dt2(const GeometricField< Type, fvPatchField, volMesh > &)=0
Reference counter for various OpenFOAM components.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)