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

midPoint< Type > Class Template Reference

Mid-point interpolation (weighting factors = 0.5) scheme class. More...

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

List of all members.


Public Member Functions

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

Detailed Description

template<class Type>
class Foam::midPoint< Type >

Mid-point interpolation (weighting factors = 0.5) scheme class.

Source files

Definition at line 46 of file midPoint.H.


Constructor & Destructor Documentation

midPoint ( const fvMesh &  mesh  )  [inline]

Construct from mesh.

Definition at line 65 of file midPoint.H.

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

Construct from Istream.

Definition at line 71 of file midPoint.H.

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

Construct from faceFlux and Istream.

Definition at line 78 of file midPoint.H.


Member Function Documentation

TypeName ( "midPoint< Type >"   ) 

Runtime type information.

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

Return the interpolation weighting factors.

Implements surfaceInterpolationScheme< Type >.

Definition at line 92 of file midPoint.H.

References Foam::dimless, forAll, surfaceInterpolationScheme< Type >::mesh(), patchi, and timeName.

Here is the call graph for this function:


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