37#ifndef faConvectionScheme_H
38#define faConvectionScheme_H
98 (
mesh, faceFlux, schemeData)
170#define makeFaConvectionTypeScheme(SS, Type) \
172 defineNamedTemplateTypeNameAndDebug(Foam::fa::SS<Foam::Type>, 0); \
178 convectionScheme<Type>::addIstreamConstructorToTable<SS<Type>> \
179 add##SS##Type##IstreamConstructorToTable_; \
184#define makeFaConvectionScheme(SS) \
186makeFaConvectionTypeScheme(SS, scalar) \
187makeFaConvectionTypeScheme(SS, vector) \
188makeFaConvectionTypeScheme(SS, tensor)
Forwards and collection of common area field types.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Abstract base class for finite area calculus convection schemes.
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDiv(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const =0
convectionScheme(const faMesh &mesh, const edgeScalarField &faceFlux)
Construct from mesh, flux and Istream.
virtual tmp< faMatrix< Type > > famDiv(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const =0
virtual ~convectionScheme()
Destructor.
static tmp< convectionScheme< Type > > New(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)
Return a pointer to a new convectionScheme created on freestore.
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > flux(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const =0
const faMesh & mesh() const
Return mesh reference.
declareRunTimeSelectionTable(tmp, convectionScheme, Istream,(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
Reference counter for various OpenFOAM components.
A class for managing temporary objects.
Forwards for edge field types.
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)