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

upwind Class Template Reference

Inheritance diagram for upwind:

Inheritance graph
[legend]
Collaboration diagram for upwind:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class Type>
class Foam::upwind< Type >

Definition at line 60 of file upwind.H.


Public Member Functions

 TypeName ("upwind")
 Runtime type information.
 upwind (const fvMesh &mesh, const surfaceScalarField &faceFlux)
 Construct from faceFlux.
 upwind (const fvMesh &mesh, Istream &is)
 Construct from Istream.
 upwind (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &)
 Construct from faceFlux and Istream.
virtual tmp< surfaceScalarField > limiter (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the interpolation limiter.
tmp< surfaceScalarField > weights () const
 Return the interpolation weighting factors.
virtual tmp< surfaceScalarField > weights (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the interpolation weighting factors.

Constructor & Destructor Documentation

upwind ( const fvMesh &  mesh,
const surfaceScalarField &  faceFlux 
) [inline]

Construct from faceFlux.

Definition at line 80 of file upwind.H.

upwind ( const fvMesh &  mesh,
Istream &  is 
) [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 94 of file upwind.H.

upwind ( const fvMesh &  mesh,
const surfaceScalarField &  faceFlux,
Istream &   
) [inline]

Construct from faceFlux and Istream.

Definition at line 104 of file upwind.H.


Member Function Documentation

TypeName ( "upwind< Type >"   ) 

Runtime type information.

virtual tmp<surfaceScalarField> limiter ( const GeometricField< Type, fvPatchField, volMesh > &   )  const [inline, virtual]

Return the interpolation limiter.

Implements limitedSurfaceInterpolationScheme.

Definition at line 118 of file upwind.H.

tmp<surfaceScalarField> weights (  )  const [inline]

Return the interpolation weighting factors.

Definition at line 139 of file upwind.H.

virtual tmp<surfaceScalarField> weights ( const GeometricField< Type, fvPatchField, volMesh > &   )  const [inline, virtual]

Return the interpolation weighting factors.

Reimplemented from limitedSurfaceInterpolationScheme.

Definition at line 146 of file upwind.H.


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