Given cell centre values and point (vertex) values decompose into tetrahedra and linear interpolate within them. More...
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 word & | type () 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, pointMesh > | psip_ |
Interpolated volfield. More... | |
Protected Attributes inherited from interpolation< Type > | |
const GeometricField< Type, fvPatchField, volMesh > & | psi_ |
const polyMesh & | pMesh_ |
const vectorField & | pMeshPoints_ |
const faceList & | pMeshFaces_ |
const vectorField & | pMeshFaceCentres_ |
const vectorField & | pMeshFaceAreas_ |
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... | |
Given cell centre values and point (vertex) values decompose into tetrahedra and linear interpolate within them.
Definition at line 48 of file interpolationCellPoint.H.
interpolationCellPoint | ( | const GeometricField< Type, fvPatchField, volMesh > & | psi | ) |
Construct from components.
Definition at line 33 of file interpolationCellPoint.C.
TypeName | ( | "cellPoint" | ) |
Runtime type information.
|
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().
|
inlinevirtual |
Interpolate field to the given point in the given cell.
Implements interpolation< Type >.
Definition at line 48 of file interpolationCellPointI.H.
|
inlinevirtual |
Interpolate field to the given coordinates in the tetrahedron.
defined by the given indices.
Reimplemented from interpolation< Type >.
Definition at line 60 of file interpolationCellPointI.H.
|
protected |
Interpolated volfield.
Definition at line 57 of file interpolationCellPoint.H.