Foam::interpolationCellPointFace. More...
#include <interpolationCellPointFace.H>


Public Member Functions | |
| TypeName ("cellPointFace") | |
| Runtime type information. | |
| interpolationCellPointFace (const GeometricField< Type, fvPatchField, volMesh > &psi) | |
| Construct from components. | |
| Type | interpolate (const vector &position, const label celli, const label facei=-1) const |
| Interpolate field to the given point in the given cell. | |
| 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. | |
| virtual Type | interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const |
| Interpolate field to the given coordinates in the tetrahedron defined by the given indices. | |
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. | |
| 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_ |
Foam::interpolationCellPointFace.
Definition at line 42 of file interpolationCellPointFace.H.
|
explicit |
Construct from components.
Definition at line 32 of file interpolationCellPointFace.C.
References interpolate(), interpolation< Type >::interpolation(), Foam::linearInterpolate(), mesh, Foam::name(), interpolation< Type >::New(), and interpolation< Type >::psi().

| TypeName | ( | "cellPointFace" | ) |
Runtime type information.
References interpolation< Type >::psi().

|
virtual |
Interpolate field to the given point in the given cell.
Implements interpolation< Type >.
Definition at line 54 of file interpolationCellPointFace.C.
References Foam::endl(), InfoInFunction, Foam::mag(), Foam::max(), Foam::min(), n, Foam::normalised(), phi, interpolation< Type >::pMesh_, interpolation< Type >::pMeshFaceAreas_, interpolation< Type >::pMeshFaceCentres_, interpolation< Type >::psi_, UList< T >::size(), Foam::tab, and Foam::Zero.
Referenced by interpolationCellPointFace().

