Abstract base class for convection schemes. More...
#include <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 () |
| Destructor. | |
| 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 &, 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 > &) |
| Public Member Functions inherited from refCount | |
| constexpr | refCount () noexcept |
| Default construct, initializing count to 0. | |
| int | use_count () const noexcept |
| Return the current reference count. | |
| bool | unique () const noexcept |
| Return true if the reference count is zero. | |
| void | operator++ () noexcept |
| Increment the reference count. | |
| void | operator++ (int) noexcept |
| Increment the reference count. | |
| void | operator-- () noexcept |
| Decrement the reference count. | |
| void | operator-- (int) noexcept |
| 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. | |
Abstract base class for convection schemes.
Definition at line 65 of file convectionScheme.H.
| convectionScheme | ( | const convectionScheme< Type > & | cs | ) |
Copy construct.
Definition at line 44 of file convectionScheme.C.
References convectionScheme(), and refCount::refCount().
Referenced by boundedConvectionScheme< Type >::boundedConvectionScheme(), convectionScheme(), declareRunTimeSelectionTable(), declareRunTimeSelectionTable(), fusedGaussConvectionScheme< Type >::fusedGaussConvectionScheme(), fusedGaussConvectionScheme< Type >::fusedGaussConvectionScheme(), fvcDiv(), gaussConvectionScheme< Type >::gaussConvectionScheme(), gaussConvectionScheme< Type >::gaussConvectionScheme(), multivariateGaussConvectionScheme< Type >::multivariateGaussConvectionScheme(), operator=(), and boundedConvectionScheme< Type >::scheme().


|
inline |
Construct from mesh, flux and Istream.
Definition at line 123 of file convectionScheme.H.
References mesh().

|
virtual |
Destructor.
Definition at line 145 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 54 of file convectionScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, and mesh().
Referenced by boundedConvectionScheme< Type >::boundedConvectionScheme(), Foam::fvc::div(), Foam::fvm::div(), Foam::fvc::flux(), fusedGaussConvectionScheme< Type >::fusedGaussConvectionScheme(), gaussConvectionScheme< Type >::gaussConvectionScheme(), and multivariateGaussConvectionScheme< Type >::multivariateGaussConvectionScheme().


|
static |
Return a pointer to a new multivariate convectionScheme.
created on freestore
Definition at line 100 of file convectionScheme.C.
References Foam::endl(), IOstream::eof(), FatalIOErrorInFunction, fields, InfoInFunction, and mesh().

|
inline |
Return mesh reference.
Definition at line 172 of file convectionScheme.H.
Referenced by boundedConvectionScheme< Type >::boundedConvectionScheme(), convectionScheme(), declareRunTimeSelectionTable(), declareRunTimeSelectionTable(), fusedGaussConvectionScheme< Type >::fusedGaussConvectionScheme(), fusedGaussConvectionScheme< Type >::fusedGaussConvectionScheme(), fusedGaussConvectionScheme< Type >::fvcDiv(), gaussConvectionScheme< Type >::gaussConvectionScheme(), gaussConvectionScheme< Type >::gaussConvectionScheme(), multivariateGaussConvectionScheme< Type >::multivariateGaussConvectionScheme(), New(), and New().

|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in boundedConvectionScheme< Type >, fusedGaussConvectionScheme< Type >, gaussConvectionScheme< Type >, and multivariateGaussConvectionScheme< Type >.
References convectionScheme().

| void operator= | ( | const convectionScheme< Type > & | cs | ) |
Definition at line 152 of file convectionScheme.C.
References convectionScheme().
