Abstract base class for finite area calculus convection schemes. More...
Public Member Functions | |
declareRunTimeSelectionTable (tmp, convectionScheme, Istream,(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData)) | |
convectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux) | |
Construct from mesh, flux and Istream. More... | |
virtual | ~convectionScheme () |
Destructor. More... | |
const faMesh & | mesh () const |
Return mesh reference. More... | |
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | flux (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const =0 |
virtual tmp< faMatrix< Type > > | famDiv (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const =0 |
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > | facDiv (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const =0 |
Public Member Functions inherited from refCount | |
constexpr | refCount () noexcept |
Default construct, initializing count to 0. More... | |
int | count () const noexcept |
Return the current reference count. More... | |
bool | unique () const noexcept |
Return true if the reference count is zero. More... | |
void | operator++ () noexcept |
Increment the reference count. More... | |
void | operator++ (int) noexcept |
Increment the reference count. More... | |
void | operator-- () noexcept |
Decrement the reference count. More... | |
void | operator-- (int) noexcept |
Decrement the reference count. More... | |
Static Public Member Functions | |
static tmp< convectionScheme< Type > > | New (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData) |
Return a pointer to a new convectionScheme created on freestore. More... | |
Abstract base class for finite area calculus convection schemes.
Definition at line 65 of file faConvectionScheme.H.
|
inline |
Construct from mesh, flux and Istream.
Definition at line 104 of file faConvectionScheme.H.
|
virtual |
Destructor.
Definition at line 81 of file faConvectionScheme.C.
declareRunTimeSelectionTable | ( | tmp | , |
convectionScheme< Type > | , | ||
Istream | , | ||
(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData) | , | ||
(mesh, faceFlux, schemeData) | |||
) |
|
static |
Return a pointer to a new convectionScheme created on freestore.
Definition at line 36 of file faConvectionScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, mesh, and Foam::nl.
|
inline |
Return mesh reference.
Definition at line 132 of file faConvectionScheme.H.
|
pure virtual |
Implemented in gaussConvectionScheme< Type >.
|
pure virtual |
Implemented in gaussConvectionScheme< Type >.
Referenced by Foam::fam::div().
|
pure virtual |
Implemented in gaussConvectionScheme< Type >.
Referenced by Foam::fac::div(), Foam::fam::div(), and Foam::fac::ndiv().