FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

extendedLeastSquaresGrad< Type > Class Template Reference

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

#include <finiteVolume/extendedLeastSquaresGrad.H>


Detailed Description

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

Second-order gradient scheme using least-squares.

Source files

Definition at line 55 of file extendedLeastSquaresGrad.H.

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

List of all members.

Public Member Functions

 TypeName ("extendedLeastSquares")
 Runtime type information.
 extendedLeastSquaresGrad (const fvMesh &mesh, Istream &schemeData)
 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.

Constructor & Destructor Documentation

extendedLeastSquaresGrad ( const fvMesh &   mesh,
Istream &   schemeData  
) [inline]

Construct from Istream.

Definition at line 83 of file extendedLeastSquaresGrad.H.

References Foam::exit(), Foam::FatalIOError, and FatalIOErrorIn.


Member Function Documentation

TypeName ( "extendedLeastSquares"    )

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: