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) \ 186 makeFaConvectionTypeScheme(SS, scalar) \ 187 makeFaConvectionTypeScheme(SS, vector) \ 188 makeFaConvectionTypeScheme(SS, tensor) Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Reference counter for various OpenFOAM components.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual tmp< faMatrix< Type > > famDiv(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const =0
Abstract base class for finite area calculus convection schemes.
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > flux(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const =0
const faMesh & mesh() const
Return mesh reference.
Forwards for edge field types.
declareRunTimeSelectionTable(tmp, convectionScheme, Istream,(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
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.
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDiv(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const =0
Forwards and collection of common area field types.