37#ifndef faD2dt2Scheme_H
38#define faD2dt2Scheme_H
91 virtual const word&
type()
const = 0;
196#define makeFaD2dt2TypeScheme(SS, Type) \
198 defineNamedTemplateTypeNameAndDebug(Foam::fa::SS<Foam::Type>, 0); \
204 faD2dt2Scheme<Type>::addIstreamConstructorToTable<SS<Type>> \
205 add##SS##Type##IstreamConstructorToTable_; \
210#define makeFaD2dt2Scheme(SS) \
212makeFaD2dt2TypeScheme(SS, scalar) \
213makeFaD2dt2TypeScheme(SS, vector) \
214makeFaD2dt2TypeScheme(SS, tensor)
Forwards and collection of common area field types.
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Generic dimensioned Type class.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Abstract base class for d2dt2 schemes.
faD2dt2Scheme(const faMesh &mesh, Istream &)
Construct from mesh and Istream.
virtual ~faD2dt2Scheme()
Destructor.
void operator=(const faD2dt2Scheme &)=delete
No copy assignment.
faD2dt2Scheme(const faD2dt2Scheme &)=delete
No copy construct.
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2(const GeometricField< Type, faPatchField, areaMesh > &)=0
virtual tmp< faMatrix< Type > > famD2dt2(const GeometricField< Type, faPatchField, areaMesh > &)=0
virtual tmp< faMatrix< Type > > famD2dt2(const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
faD2dt2Scheme(const faMesh &mesh)
Construct from mesh.
static tmp< faD2dt2Scheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return a pointer to a new d2dt2Scheme created on freestore.
const faMesh & mesh() const
Return mesh reference.
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2(const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
declareRunTimeSelectionTable(tmp, faD2dt2Scheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2(const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)=0
virtual const word & type() const =0
Runtime type information.
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2(const dimensioned< Type >)=0
virtual tmp< faMatrix< Type > > famD2dt2(const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)=0
Reference counter for various OpenFOAM components.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Forwards for edge field types.
Abstract base class for finite area d2dt2 schemes.
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)