Public Member Functions | Protected Attributes | List of all members
interpolationCellPoint< Type > Class Template Reference

Given cell centre values and point (vertex) values decompose into tetrahedra and linear interpolate within them. More...

Inheritance diagram for interpolationCellPoint< Type >:
Inheritance graph
[legend]
Collaboration diagram for interpolationCellPoint< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("cellPoint")
 Runtime type information. More...
 
 interpolationCellPoint (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components. More...
 
Type interpolate (const cellPointWeight &cpw) const
 Interpolate field for the given cellPointWeight. More...
 
Type interpolate (const vector &position, const label cellI, const label faceI=-1) const
 Interpolate field to the given point in the given cell. More...
 
Type interpolate (const vector &position, const tetIndices &tetIs, const label faceI=-1) const
 Interpolate field to the given point in the tetrahedron. More...
 
- Public Member Functions inherited from interpolation< Type >
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, interpolation, dictionary,( const GeometricField< Type, fvPatchField, volMesh > &psi ),(psi))
 
 interpolation (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components. More...
 
virtual ~interpolation ()
 Destructor. More...
 
const GeometricField< Type, fvPatchField, volMesh > & psi () const
 Return the field to be interpolated. More...
 

Protected Attributes

const GeometricField< Type, pointPatchField, pointMeshpsip_
 Interpolated volfield. More...
 
- Protected Attributes inherited from interpolation< Type >
const GeometricField< Type, fvPatchField, volMesh > & psi_
 
const polyMeshpMesh_
 
const vectorFieldpMeshPoints_
 
const faceListpMeshFaces_
 
const vectorFieldpMeshFaceCentres_
 
const vectorFieldpMeshFaceAreas_
 

Additional Inherited Members

- Static Public Member Functions inherited from interpolation< Type >
static autoPtr< interpolation< Type > > New (const word &interpolationType, const GeometricField< Type, fvPatchField, volMesh > &psi)
 Return a reference to the specified interpolation scheme. More...
 
static autoPtr< interpolation< Type > > New (const dictionary &interpolationSchemes, const GeometricField< Type, fvPatchField, volMesh > &psi)
 Return a reference to the selected interpolation scheme. More...
 

Detailed Description

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

Given cell centre values and point (vertex) values decompose into tetrahedra and linear interpolate within them.

Definition at line 48 of file interpolationCellPoint.H.

Constructor & Destructor Documentation

Construct from components.

Definition at line 33 of file interpolationCellPoint.C.

References DimensionedField< Type, GeoMesh >::mesh().

Here is the call graph for this function:

Member Function Documentation

TypeName ( "cellPoint"  )

Runtime type information.

Type interpolate ( const cellPointWeight cpw) const
inline

Interpolate field for the given cellPointWeight.

Definition at line 30 of file interpolationCellPointI.H.

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

Referenced by interpolationCellPoint< Type >::interpolate(), meshToMesh0::interpolateField(), solidParticle::move(), and nearWallFields::sampleBoundaryField().

Here is the call graph for this function:

Here is the caller graph for this function:

Type interpolate ( const vector position,
const label  cellI,
const label  faceI = -1 
) const
inlinevirtual

Interpolate field to the given point in the given cell.

Implements interpolation< Type >.

Reimplemented in interpolationCellPointWallModified< Type >.

Definition at line 48 of file interpolationCellPointI.H.

References Foam::MULES::interpolate(), and interpolationCellPoint< Type >::interpolate().

Here is the call graph for this function:

Type interpolate ( const vector position,
const tetIndices tetIs,
const label  faceI = -1 
) const
inlinevirtual

Interpolate field to the given point in the tetrahedron.

defined by the given indices.

Reimplemented from interpolation< Type >.

Reimplemented in interpolationCellPointWallModified< Type >.

Definition at line 60 of file interpolationCellPointI.H.

References tetrahedron< Point, PointRef >::barycentric(), tetIndices::cell(), Foam::exit(), f(), tetIndices::face(), tetIndices::faceBasePt(), tetIndices::facePtA(), tetIndices::facePtB(), Foam::FatalError, FatalErrorIn, pFaces, and tetIndices::tet().

Here is the call graph for this function:

Member Data Documentation

const GeometricField<Type, pointPatchField, pointMesh> psip_
protected

Interpolated volfield.

Definition at line 57 of file interpolationCellPoint.H.


The documentation for this class was generated from the following files: