OpenFOAM logo
Open Source CFD Toolkit

snGradScheme Class Template Reference

Inheritance diagram for snGradScheme:

Inheritance graph
[legend]
Collaboration diagram for snGradScheme:

Collaboration graph
[legend]
List of all members.

template<class Type>
class Foam::fv::snGradScheme< Type >


Public Member Functions

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 ()
const fvMeshmesh () const
 Return mesh reference.
virtual tmp< surfaceScalarFielddeltaCoeffs (const GeometricField< Type, fvPatchField, volMesh > &) const =0
 Return the interpolation weighting factors for the given field.
virtual bool corrected () const
 Return true if this scheme uses an explicit correction.
virtual tmp< GeometricField<
Type, fvPatchField, surfaceMesh > > 
correction (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the explicit correction to the snGrad.
virtual tmp< GeometricField<
Type, fvPatchField, surfaceMesh > > 
snGrad (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the snGrad of the given cell field.
tmp< GeometricField< Type,
fvPatchField, surfaceMesh > > 
snGrad (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) const
 Return the snGrad of the given tmp cell field.

Static Public Member Functions

tmp< snGradScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 Return new tmp interpolation scheme.
tmp< GeometricField< Type,
fvPatchField, surfaceMesh > > 
snGrad (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &)
 Return the snGrad of the given cell field.

Constructor & Destructor Documentation

snGradScheme const fvMesh mesh  )  [inline]
 

Construct from mesh.

Definition at line 106 of file snGradScheme.H.

virtual ~snGradScheme  )  [virtual]
 


Member Function Documentation

virtual bool corrected  )  const [inline, virtual]
 

Return true if this scheme uses an explicit correction.

Reimplemented in correctedSnGrad, limitedSnGrad, and uncorrectedSnGrad.

Definition at line 154 of file snGradScheme.H.

virtual tmp<GeometricField<Type, fvPatchField, surfaceMesh> > correction const GeometricField< Type, fvPatchField, volMesh > &   )  const [inline, virtual]
 

Return the explicit correction to the snGrad.

for the given field

Reimplemented in correctedSnGrad, limitedSnGrad, and uncorrectedSnGrad.

Definition at line 164 of file snGradScheme.H.

declareRunTimeSelectionTable tmp  ,
snGradScheme< Type >  ,
Mesh  ,
(const fvMesh &mesh, Istream &schemeData)  ,
(mesh, schemeData) 
 

virtual tmp<surfaceScalarField> deltaCoeffs const GeometricField< Type, fvPatchField, volMesh > &   )  const [pure virtual]
 

Return the interpolation weighting factors for the given field.

Implemented in correctedSnGrad, limitedSnGrad, and uncorrectedSnGrad.

const fvMesh& mesh  )  const [inline]
 

Return mesh reference.

Definition at line 130 of file snGradScheme.H.

tmp<snGradScheme<Type> > New const fvMesh mesh,
Istream schemeData
[static]
 

Return new tmp interpolation scheme.

tmp<GeometricField<Type, fvPatchField, surfaceMesh> > snGrad const tmp< GeometricField< Type, fvPatchField, volMesh > > &   )  const
 

Return the snGrad of the given tmp cell field.

with explicit correction

virtual tmp<GeometricField<Type, fvPatchField, surfaceMesh> > snGrad const GeometricField< Type, fvPatchField, volMesh > &   )  const [virtual]
 

Return the snGrad of the given cell field.

with explicit correction

tmp<GeometricField<Type, fvPatchField, surfaceMesh> > snGrad const GeometricField< Type, fvPatchField, volMesh > &  ,
const tmp< surfaceScalarField > & 
[static]
 

Return the snGrad of the given cell field.

with the given weigting factors

virtual const word& type  )  const [pure virtual]
 

Runtime type information.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org