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

interpolationCellPoint< Type > Class Template Reference

Foam::interpolationCellPoint. More...

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

List of all members.


Public Member Functions

 TypeName ("cellPoint")
 Runtime type information.
 interpolationCellPoint (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components.
Type interpolate (const cellPointWeight &cpw) const
 Interpolate field for the given cellPointWeight.
Type interpolate (const vector &position, const label nCell, const label facei=-1) const
 Interpolate field to the given point in the given cell.

Protected Attributes

const GeometricField< Type,
pointPatchField, pointMesh > 
psip_
 Interpolated volfield.

Detailed Description

template<class Type>
class Foam::interpolationCellPoint< Type >

Foam::interpolationCellPoint.

Same as interpolationCellPoint, but if interpolating a wall face, uses cell centre value instead.

Definition at line 40 of file interpolationCellPoint.H.


Constructor & Destructor Documentation

interpolationCellPoint ( const GeometricField< Type, fvPatchField, volMesh > &  psi  )  [inline]

Construct from components.

Definition at line 25 of file interpolationCellPoint.C.


Member Function Documentation

TypeName ( "cellPoint"   ) 

Runtime type information.

Type interpolate ( const cellPointWeight &  cpw  )  const [inline]

Interpolate field for the given cellPointWeight.

Definition at line 22 of file interpolationCellPointI.H.

References cellPointWeight::faceVertices(), and cellPointWeight::weights().

Referenced by solidParticle::move().

Here is the call graph for this function:

Here is the caller graph for this function:

Type interpolate ( const vector &  position,
const label  nCell,
const label  facei = -1 
) const [inline, virtual]

Interpolate field to the given point in the given cell.

Implements interpolation< Type >.

Reimplemented in interpolationCellPointWallModified< Type >.

Definition at line 40 of file interpolationCellPointI.H.


Member Data Documentation

Interpolated volfield.

Definition at line 49 of file interpolationCellPoint.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd