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< SurfaceField< Type > > | interpolate (const surfaceScalarField &, const VolField< Type > &) const =0 |
virtual tmp< SurfaceField< Type > > | flux (const surfaceScalarField &, const VolField< Type > &) const =0 |
virtual tmp< fvMatrix< Type > > | fvmDiv (const surfaceScalarField &, const VolField< Type > &) const =0 |
virtual tmp< VolField< Type > > | fvcDiv (const surfaceScalarField &, const VolField< Type > &) const =0 |
void | operator= (const convectionScheme< Type > &) |
Public Member Functions inherited from refCount | |
int | count () const |
Return the current reference count. More... | |
bool | unique () const |
Return true if the reference count is zero. More... | |
void | operator++ () |
Increment the reference count. More... | |
void | operator++ (int) |
Increment the reference count. More... | |
void | operator-- () |
Decrement the reference count. More... | |
void | operator-- (int) |
Decrement the reference count. More... | |
void | operator= (const refCount &)=delete |
Disallow bitwise assignment. 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from refCount | |
refCount () | |
Construct null initialising count to 0. More... | |
refCount (const refCount &)=delete | |
Disallow copy. More... | |
Abstract base class for convection schemes.
Definition at line 64 of file convectionScheme.H.
convectionScheme | ( | const convectionScheme< Type > & | cs | ) |
Copy construct.
Definition at line 47 of file convectionScheme.C.
|
inline |
Construct from mesh, flux and Istream.
Definition at line 116 of file convectionScheme.H.
|
virtual |
Destructor.
Definition at line 149 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 57 of file convectionScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, InfoInFunction, and Foam::nl.
Referenced by Foam::fvc::div(), Foam::fvm::div(), and Foam::fvc::flux().
|
static |
Return a pointer to a new multivariate convectionScheme.
created on freestore
Definition at line 101 of file convectionScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, fields, InfoInFunction, and Foam::nl.
|
inline |
Return mesh reference.
Definition at line 156 of file convectionScheme.H.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
void operator= | ( | const convectionScheme< Type > & | cs | ) |
Definition at line 156 of file convectionScheme.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.