Abstract base class for convection schemes. More...
Public Member Functions | |
virtual const word & | type () const =0 |
Runtime type information. More... | |
declareRunTimeSelectionTable (tmp, convectionScheme, Istream,(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData)) | |
declareRunTimeSelectionTable (tmp, convectionScheme, Multivariate,(const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, fields, faceFlux, schemeData)) | |
convectionScheme (const convectionScheme &) | |
Copy construct. More... | |
convectionScheme (const fvMesh &mesh, const surfaceScalarField &) | |
Construct from mesh, flux and Istream. More... | |
virtual | ~convectionScheme () |
Destructor. More... | |
const fvMesh & | mesh () const |
Return mesh reference. More... | |
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | interpolate (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0 |
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | flux (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0 |
virtual tmp< fvMatrix< Type > > | fvmDiv (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0 |
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > | fvcDiv (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0 |
void | operator= (const convectionScheme< Type > &) |
![]() | |
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 fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData) |
Return a pointer to a new convectionScheme created on freestore. More... | |
static tmp< convectionScheme< Type > > | New (const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData) |
Return a pointer to a new multivariate convectionScheme. More... | |
Abstract base class for convection schemes.
Definition at line 69 of file convectionScheme.H.
convectionScheme | ( | const convectionScheme< Type > & | cs | ) |
Copy construct.
Definition at line 50 of file convectionScheme.C.
|
inline |
Construct from mesh, flux and Istream.
Definition at line 121 of file convectionScheme.H.
|
virtual |
Destructor.
Definition at line 151 of file convectionScheme.C.
|
pure virtual |
Runtime type information.
declareRunTimeSelectionTable | ( | tmp | , |
convectionScheme< Type > | , | ||
Istream | , | ||
(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData) | , | ||
(mesh, faceFlux, schemeData) | |||
) |
declareRunTimeSelectionTable | ( | tmp | , |
convectionScheme< Type > | , | ||
Multivariate | , | ||
(const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData) | , | ||
(mesh, fields, faceFlux, schemeData) | |||
) |
|
static |
Return a pointer to a new convectionScheme created on freestore.
Definition at line 60 of file convectionScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, and mesh.
|
static |
Return a pointer to a new multivariate convectionScheme.
created on freestore
Definition at line 106 of file convectionScheme.C.
References Foam::endl(), and InfoInFunction.
|
inline |
Return mesh reference.
Definition at line 161 of file convectionScheme.H.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
void operator= | ( | const convectionScheme< Type > & | cs | ) |
Definition at line 158 of file convectionScheme.C.