OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

correctedSnGrad< Type > Class Template Reference

Simple central-difference snGrad scheme with non-orthogonal correction. More...

Inheritance diagram for correctedSnGrad< Type >:
Collaboration diagram for correctedSnGrad< Type >:

List of all members.


Public Member Functions

 TypeName ("corrected")
 Runtime type information.
 correctedSnGrad (const fvMesh &mesh)
 Construct from mesh.
 correctedSnGrad (const fvMesh &mesh, Istream &)
 Construct from mesh and data stream.
virtual ~correctedSnGrad ()
virtual tmp< surfaceScalarField > deltaCoeffs (const GeometricField< Type, fvPatchField, volMesh > &) const
 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, fvsPatchField,
surfaceMesh > > 
correction (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the explicit correction to the correctedSnGrad.

Detailed Description

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

Simple central-difference snGrad scheme with non-orthogonal correction.

Source files

Definition at line 50 of file correctedSnGrad.H.


Constructor & Destructor Documentation

correctedSnGrad ( const fvMesh &  mesh  )  [inline]

Construct from mesh.

Definition at line 69 of file correctedSnGrad.H.

correctedSnGrad ( const fvMesh &  mesh,
Istream &   
) [inline]

Construct from mesh and data stream.

Definition at line 76 of file correctedSnGrad.H.

~correctedSnGrad (  )  [inline, virtual]

Definition at line 42 of file correctedSnGrad.C.


Member Function Documentation

TypeName ( "corrected"   ) 

Runtime type information.

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

Return the interpolation weighting factors for the given field.

Implements snGradScheme< Type >.

Definition at line 91 of file correctedSnGrad.H.

virtual bool corrected (  )  const [inline, virtual]

Return true if this scheme uses an explicit correction.

Reimplemented from snGradScheme< Type >.

Definition at line 99 of file correctedSnGrad.H.

References surfaceInterpolation::deltaCoeffs(), and snGradScheme< Type >::mesh().

Here is the call graph for this function:

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

Return the explicit correction to the correctedSnGrad.

for the given field

Reimplemented from snGradScheme< Type >.

Definition at line 51 of file correctedSnGrad.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd