Loading...
Searching...
No Matches
CentredFitSnGradScheme< Type, Polynomial, Stencil > Class Template Reference

#include <CentredFitSnGradScheme.H>

Inheritance diagram for CentredFitSnGradScheme< Type, Polynomial, Stencil >:
Collaboration diagram for CentredFitSnGradScheme< Type, Polynomial, Stencil >:

Public Member Functions

 TypeName ("CentredFitSnGradScheme")
 Runtime type information.
 CentredFitSnGradScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream.
virtual tmp< surfaceScalarFielddeltaCoeffs (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the interpolation weighting factors for the given field.
virtual bool corrected () const noexcept
 Return true if this scheme uses an explicit correction.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 Return the explicit correction to the face-interpolate.
Public Member Functions inherited from snGradScheme< Type >
virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (tmp, snGradScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 snGradScheme (const fvMesh &mesh)
 Construct from mesh.
virtual ~snGradScheme ()=default
 Destructor.
const fvMeshmesh () const
 Return const reference to mesh.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the snGrad of the given cell field with explicit correction.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) const
 Return the snGrad of the given tmp cell field with explicit correction.
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.

Additional Inherited Members

Static Public Member Functions inherited from snGradScheme< Type >
static tmp< snGradScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 Return new tmp interpolation scheme.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const word &snGradName="snGrad")
 Return the snGrad of the given cell field by using the given deltaCoeffs.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > sndGrad (const GeometricField< Type, fvPatchField, volMesh > &, const word &snGradName="sndGrad")
 Return the sndGrad of the given cell field.

Detailed Description

template<class Type, class Polynomial, class Stencil>
class Foam::fv::CentredFitSnGradScheme< Type, Polynomial, Stencil >

Definition at line 53 of file CentredFitSnGradScheme.H.

Constructor & Destructor Documentation

◆ CentredFitSnGradScheme()

template<class Type, class Polynomial, class Stencil>
CentredFitSnGradScheme ( const fvMesh & mesh,
Istream & is )
inline

Construct from mesh and Istream.

Definition at line 99 of file CentredFitSnGradScheme.H.

Member Function Documentation

◆ TypeName()

template<class Type, class Polynomial, class Stencil>
TypeName ( "CentredFitSnGradScheme< Type, Polynomial, Stencil >" )

Runtime type information.

◆ deltaCoeffs()

template<class Type, class Polynomial, class Stencil>
virtual tmp< surfaceScalarField > deltaCoeffs ( const GeometricField< Type, fvPatchField, volMesh > & ) const
inlinevirtual

Return the interpolation weighting factors for the given field.

Implements snGradScheme< Type >.

Definition at line 112 of file CentredFitSnGradScheme.H.

◆ corrected()

template<class Type, class Polynomial, class Stencil>
virtual bool corrected ( ) const
inlinevirtualnoexcept

Return true if this scheme uses an explicit correction.

Reimplemented from snGradScheme< Type >.

Definition at line 123 of file CentredFitSnGradScheme.H.

◆ correction()

template<class Type, class Polynomial, class Stencil>
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction ( const GeometricField< Type, fvPatchField, volMesh > & vf) const
inlinevirtual

Return the explicit correction to the face-interpolate.

Reimplemented from snGradScheme< Type >.

Definition at line 132 of file CentredFitSnGradScheme.H.


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