OpenFOAM logo
Open Source CFD Toolkit

linearUpwind Class Template Reference

Inheritance diagram for linearUpwind:

Inheritance graph
[legend]
Collaboration diagram for linearUpwind:

Collaboration graph
[legend]
List of all members.

template<class Type>
class Foam::linearUpwind< Type >


Public Member Functions

 TypeName ("linearUpwind")
 Runtime type information.
 linearUpwind (const fvMesh &mesh, const surfaceScalarField &faceFlux)
 Construct from faceFlux.
 linearUpwind (const fvMesh &mesh, Istream &schemeData)
 Construct from Istream.
 linearUpwind (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
 Construct from faceFlux and Istream.
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 > &vf) const
 Return the explicit correction to the face-interpolate.

Constructor & Destructor Documentation

linearUpwind const fvMesh mesh,
const surfaceScalarField faceFlux
[inline]
 

Construct from faceFlux.

Definition at line 88 of file linearUpwind.H.

linearUpwind const fvMesh mesh,
Istream schemeData
[inline]
 

Construct from Istream.

The name of the flux field is read from the Istream and looked-up from the mesh objectRegistry

Definition at line 106 of file linearUpwind.H.

linearUpwind const fvMesh mesh,
const surfaceScalarField faceFlux,
Istream schemeData
[inline]
 

Construct from faceFlux and Istream.

Definition at line 124 of file linearUpwind.H.


Member Function Documentation

virtual bool corrected  )  const [inline, virtual]
 

Return true if this scheme uses an explicit correction.

Reimplemented from surfaceInterpolationScheme.

Definition at line 145 of file linearUpwind.H.

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

Return the explicit correction to the face-interpolate.

Reimplemented from surfaceInterpolationScheme.

TypeName "linearUpwind< Type >"   ) 
 

Runtime type information.


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