Given cell centre values and point (vertex) values decompose into tetrahedra and linear interpolate within them. More...
#include <interpolationCellPoint.H>


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 celli, const label facei=-1) const |
| Interpolate field to the given point in the given cell. | |
| Type | interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const |
| Interpolate field to the given coordinates in the tetrahedron. | |
| Public Member Functions inherited from interpolation< Type > | |
| virtual const word & | type () const =0 |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, interpolation, dictionary,(const GeometricField< Type, fvPatchField, volMesh > &psi),(psi)) | |
| interpolation (const GeometricField< Type, fvPatchField, volMesh > &psi) | |
| Construct from components. | |
| virtual | ~interpolation ()=default |
| Destructor. | |
| const GeometricField< Type, fvPatchField, volMesh > & | psi () const noexcept |
| Return the field to be interpolated. | |
Protected Attributes | |
| const GeometricField< Type, pointPatchField, pointMesh > | psip_ |
| Interpolated volfield. | |
| 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. | |
| static autoPtr< interpolation< Type > > | New (const dictionary &interpolationSchemes, const GeometricField< Type, fvPatchField, volMesh > &psi) |
| Return a reference to the selected interpolation scheme. | |
Given cell centre values and point (vertex) values decompose into tetrahedra and linear interpolate within them.
Definition at line 44 of file interpolationCellPoint.H.
|
explicit |
Construct from components.
Definition at line 27 of file interpolationCellPoint.C.
References interpolate(), interpolation< Type >::interpolation(), mesh, Foam::name(), interpolation< Type >::New(), interpolation< Type >::psi(), and psip_.
Referenced by interpolationCellPointWallModified< Type >::interpolationCellPointWallModified().


| TypeName | ( | "cellPoint" | ) |
Runtime type information.
References coordinates(), and interpolation< Type >::psi().

|
inline |
Interpolate field for the given cellPointWeight.
Definition at line 24 of file interpolationCellPointI.H.
References cellPointWeight::cell(), cellPointWeight::faceVertices(), interpolation< Type >::psi_, psip_, and cellPointWeight::weights().
Referenced by interpolationCellPointWallModified< Type >::interpolate(), interpolationCellPointWallModified< Type >::interpolate(), interpolationCellPointWallModified< Type >::interpolate(), meshToMesh0::interpolateField(), interpolationCellPoint(), and nearWallFields::sampleBoundaryField().


|
inlinevirtual |
Interpolate field to the given point in the given cell.
Implements interpolation< Type >.
Reimplemented in interpolationCellPointWallModified< Type >.
Definition at line 42 of file interpolationCellPointI.H.
References interpolate(), and interpolation< Type >::pMesh_.

|
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 54 of file interpolationCellPointI.H.
References tetIndices::cell(), coordinates(), Foam::exit(), tetIndices::face(), tetIndices::faceTriIs(), Foam::FatalError, FatalErrorInFunction, and interpolation< Type >::psi_.

|
protected |
Interpolated volfield.
Definition at line 55 of file interpolationCellPoint.H.
Referenced by interpolate(), and interpolationCellPoint().