gaussConvectionScheme< Type > Class Template Reference

Basic second-order convection using face-gradients and Gauss' theorem. More...

Inheritance diagram for gaussConvectionScheme< Type >:
[legend]
Collaboration diagram for gaussConvectionScheme< Type >:
[legend]

Public Member Functions

 TypeName ("Gauss")
 Runtime type information. More...
 
 gaussConvectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux, const tmp< edgeInterpolationScheme< Type > > &scheme)
 Construct from flux and interpolation scheme. More...
 
 gaussConvectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &is)
 Construct from flux and Istream. More...
 
tmp< GeometricField< Type, faePatchField, edgeMesh > > flux (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const
 
tmp< faMatrix< Type > > famDiv (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDiv (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const
 
- Public Member Functions inherited from convectionScheme< Type >
 declareRunTimeSelectionTable (tmp, convectionScheme, Istream,(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
 
 convectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux)
 Construct from mesh, flux and Istream. More...
 
virtual ~convectionScheme ()
 Destructor. More...
 
const faMeshmesh () const
 Return mesh reference. More...
 
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
 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from convectionScheme< Type >
static tmp< convectionScheme< Type > > New (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)
 Return a pointer to a new convectionScheme created on freestore. More...
 

Detailed Description

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

Basic second-order convection using face-gradients and Gauss' theorem.

Source files

Definition at line 58 of file gaussFaConvectionScheme.H.

Constructor & Destructor Documentation

◆ gaussConvectionScheme() [1/2]

gaussConvectionScheme ( const faMesh mesh,
const edgeScalarField faceFlux,
const tmp< edgeInterpolationScheme< Type > > &  scheme 
)
inline

Construct from flux and interpolation scheme.

Definition at line 85 of file gaussFaConvectionScheme.H.

◆ gaussConvectionScheme() [2/2]

gaussConvectionScheme ( const faMesh mesh,
const edgeScalarField faceFlux,
Istream is 
)
inline

Construct from flux and Istream.

Definition at line 97 of file gaussFaConvectionScheme.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Gauss"  )

Runtime type information.

◆ flux()

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

Implements convectionScheme< Type >.

Definition at line 46 of file gaussFaConvectionScheme.C.

◆ famDiv()

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

◆ facDiv()

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

Implements convectionScheme< Type >.

Definition at line 111 of file gaussFaConvectionScheme.C.

References Foam::fac::edgeIntegrate(), IOobject::name(), and tmp< T >::ref().

Here is the call graph for this function:

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