Public Member Functions | Static Public Member Functions | List of all members
convectionScheme< Type > Class Template Referenceabstract

Abstract base class for finite area calculus convection schemes. More...

Inheritance diagram for convectionScheme< Type >:
Inheritance graph
[legend]
Collaboration diagram for convectionScheme< Type >:
Collaboration graph
[legend]

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)
 
virtual ~convectionScheme ()
 
const faMeshmesh () const
 
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
 
int count () const noexcept
 
bool unique () const noexcept
 
void operator++ () noexcept
 
void operator++ (int) noexcept
 
void operator-- () noexcept
 
void operator-- (int) noexcept
 

Static Public Member Functions

static tmp< convectionScheme< Type > > New (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)
 

Detailed Description

template<class Type>
class Foam::fa::convectionScheme< Type >

Abstract base class for finite area calculus convection schemes.

Source files

Definition at line 61 of file faConvectionScheme.H.

Constructor & Destructor Documentation

◆ convectionScheme()

convectionScheme ( const faMesh mesh,
const edgeScalarField faceFlux 
)
inline

Definition at line 101 of file faConvectionScheme.H.

◆ ~convectionScheme()

~convectionScheme
virtual

Definition at line 74 of file faConvectionScheme.C.

Member Function Documentation

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( tmp  ,
convectionScheme< Type >  ,
Istream  ,
(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)  ,
(mesh, faceFlux, schemeData)   
)

◆ New()

Foam::tmp< Foam::fa::convectionScheme< Type > > New ( const faMesh mesh,
const edgeScalarField faceFlux,
Istream schemeData 
)
static

Definition at line 30 of file faConvectionScheme.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, mesh, and Foam::nl.

Referenced by Foam::fam::div(), and Foam::fam::ndiv().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mesh()

const faMesh& mesh ( ) const
inline

Definition at line 128 of file faConvectionScheme.H.

◆ flux()

virtual tmp<GeometricField<Type, faePatchField, edgeMesh> > flux ( const edgeScalarField ,
const GeometricField< Type, faPatchField, areaMesh > &   
) const
pure virtual

◆ famDiv()

virtual tmp<faMatrix<Type> > famDiv ( const edgeScalarField ,
const GeometricField< Type, faPatchField, areaMesh > &   
) const
pure virtual

Implemented in gaussConvectionScheme< Type >.

Referenced by Foam::fam::div().

Here is the caller graph for this function:

◆ facDiv()

virtual tmp<GeometricField<Type, faPatchField, areaMesh> > facDiv ( const edgeScalarField ,
const GeometricField< Type, faPatchField, areaMesh > &   
) const
pure virtual

Implemented in gaussConvectionScheme< Type >.

Referenced by Foam::fam::div(), Foam::fac::div(), and Foam::fac::ndiv().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: