OpenFOAM logo
Open Source CFD Toolkit

gradScheme Class Template Reference

Inheritance diagram for gradScheme:

Inheritance graph
[legend]
Collaboration diagram for gradScheme:

Collaboration graph
[legend]
List of all members.

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


Public Member Functions

virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (tmp, gradScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 gradScheme (const fvMesh &mesh)
 Construct from mesh.
virtual ~gradScheme ()
const fvMeshmesh () const
 Return mesh reference.
virtual tmp< GeometricField<
typename outerProduct< vector,
Type >::type, fvPatchField,
volMesh > > 
grad (const GeometricField< Type, fvPatchField, volMesh > &) const =0
 Calculate and return the grad of the given field.

Static Public Member Functions

tmp< gradScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 Return a pointer to a new gradScheme created on freestore.

Constructor & Destructor Documentation

gradScheme const fvMesh mesh  )  [inline]
 

Construct from mesh.

Definition at line 108 of file gradScheme.H.

virtual ~gradScheme  )  [virtual]
 


Member Function Documentation

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

virtual tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad const GeometricField< Type, fvPatchField, volMesh > &   )  const [pure virtual]
 

Calculate and return the grad of the given field.

Implemented in fourthGrad, gaussGrad, leastSquaresGrad, and limitedGrad.

const fvMesh& mesh  )  const [inline]
 

Return mesh reference.

Definition at line 132 of file gradScheme.H.

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

Return a pointer to a new gradScheme created on freestore.

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