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 barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const
 Interpolate field to the given coordinates 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

◆ interpolationCellPoint()

Construct from components.

Definition at line 33 of file interpolationCellPoint.C.

Member Function Documentation

◆ TypeName()

TypeName ( "cellPoint"  )

Runtime type information.

◆ interpolate() [1/3]

Type interpolate ( const cellPointWeight cpw) const
inline

Interpolate field for the given cellPointWeight.

Definition at line 30 of file interpolationCellPointI.H.

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

Here is the caller graph for this function:

◆ interpolate() [2/3]

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.

◆ interpolate() [3/3]

Type interpolate ( const barycentric coordinates,
const tetIndices tetIs,
const label  facei = -1 
) const
inlinevirtual

Interpolate field to the given coordinates in the tetrahedron.

defined by the given indices.

Reimplemented from interpolation< Type >.

Reimplemented in interpolationCellPointWallModified< Type >.

Definition at line 60 of file interpolationCellPointI.H.

Member Data Documentation

◆ psip_

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: