Abstract base class for convection schemes. More...
#include <finiteVolume/convectionScheme.H>
Abstract base class for convection schemes.
Definition at line 65 of file convectionScheme.H.
Public Member Functions | |
virtual const word & | type () const =0 |
Runtime type information. | |
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. | |
convectionScheme (const fvMesh &mesh, const surfaceScalarField &) | |
Construct from mesh, flux and Istream. | |
virtual | ~convectionScheme () |
const fvMesh & | mesh () const |
Return mesh reference. | |
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 &, 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 > &) |
![]() | |
refCount () | |
Construct null with zero count. | |
int | count () const |
Return the reference count. | |
bool | okToDelete () const |
Return true if the reference count is zero. | |
void | resetRefCount () |
Reset the reference count to zero. | |
void | operator++ () |
Increment the reference count. | |
void | operator++ (int) |
Increment the reference count. | |
void | operator-- () |
Decrement the reference count. | |
void | operator-- (int) |
Decrement the reference count. |
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. | |
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. |
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 118 of file convectionScheme.H.
|
virtual |
Definition at line 169 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 58 of file convectionScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.
|
static |
Return a pointer to a new multivariate convectionScheme.
created on freestore
Definition at line 109 of file convectionScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, fields, Foam::Info, and mesh.
|
inline |
Return mesh reference.
Definition at line 158 of file convectionScheme.H.
|
pure virtual |
Implemented in gaussConvectionScheme< Type >, and multivariateGaussConvectionScheme< Type >.
|
pure virtual |
Implemented in gaussConvectionScheme< Type >, and multivariateGaussConvectionScheme< Type >.
Referenced by Foam::fvc::flux().
|
pure virtual |
Implemented in gaussConvectionScheme< Type >, and multivariateGaussConvectionScheme< Type >.
Referenced by Foam::fvm::div().
|
pure virtual |
Implemented in gaussConvectionScheme< Type >, and multivariateGaussConvectionScheme< Type >.
Referenced by Foam::fvc::div().
void operator= | ( | const convectionScheme< Type > & | cs | ) |
Definition at line 176 of file convectionScheme.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.