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

fourthGrad< Type > Class Template Reference

Second-order gradient scheme using least-squares. More...

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

List of all members.


Public Member Functions

 TypeName ("fourth")
 Runtime type information.
 fourthGrad (const fvMesh &mesh, Istream &)
 Construct from Istream.
tmp< GeometricField< typename
outerProduct< vector, Type >
::type, fvPatchField, volMesh > > 
grad (const GeometricField< Type, fvPatchField, volMesh > &) const
 Calculate and return the grad of the given field.

Detailed Description

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

Second-order gradient scheme using least-squares.

Source files

Definition at line 50 of file fourthGrad.H.


Constructor & Destructor Documentation

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

Construct from Istream.

Definition at line 72 of file fourthGrad.H.


Member Function Documentation

TypeName ( "fourth"   ) 

Runtime type information.

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

Calculate and return the grad of the given field.

Implements gradScheme< Type >.


The documentation for this class was generated from the following file:
  • src/finiteVolume/finiteVolume/gradSchemes/fourthGrad/fourthGrad.H
Copyright © 2000-2009 OpenCFD Ltd