OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

linearUpwind Class Template Reference

Inheritance diagram for linearUpwind:

Inheritance graph
[legend]
Collaboration diagram for linearUpwind:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 60 of file linearUpwind.H.


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, fvsPatchField, 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

TypeName ( "linearUpwind< Type >"   ) 

Runtime type information.

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, fvsPatchField, surfaceMesh> > correction ( const GeometricField< Type, fvPatchField, volMesh > &  vf  )  const [virtual]

Return the explicit correction to the face-interpolate.

Reimplemented from surfaceInterpolationScheme.


The documentation for this class was generated from the following file:
  • src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/linearUpwind/linearUpwind.H
Copyright © 2000-2007 OpenCFD Ltd