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 ()=default |
Destructor. More... | |
const GeometricField< Type, fvPatchField, volMesh > & | psi () const noexcept |
Return the field to be interpolated. More... | |
virtual Type | interpolate (const vector &position, const label celli, const label facei=-1) const =0 |
Interpolate field to the given point in the given cell. More... | |
virtual Type | interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const |
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 50 of file interpolationCellPoint.H.
|
explicit |
Construct from components.
Definition at line 34 of file interpolationCellPoint.C.
References Foam::name(), Foam::New(), and interpolation< Type >::psi().
TypeName | ( | "cellPoint" | ) |
Runtime type information.
|
inline |
Interpolate field for the given cellPointWeight.
Definition at line 31 of file interpolationCellPointI.H.
References cellPointWeight::cell(), cellPointWeight::faceVertices(), and cellPointWeight::weights().
Referenced by meshToMesh0::interpolateField(), solidParticle::move(), and nearWallFields::sampleBoundaryField().
|
inlinevirtual |
Interpolate field to the given point in the given cell.
Implements interpolation< Type >.
Reimplemented in interpolationCellPointWallModified< Type >.
Definition at line 49 of file interpolationCellPointI.H.
References interpolate().
|
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 61 of file interpolationCellPointI.H.
References tetIndices::face(), and FatalErrorInFunction.
|
protected |
Interpolated volfield.
Definition at line 59 of file interpolationCellPoint.H.