Abstract base class for interpolation. More...
#include <finiteVolume/interpolation.H>
Abstract base class for interpolation.
Definition at line 54 of file interpolation.H.
Public Member Functions | |
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 () |
const GeometricField< Type, fvPatchField, volMesh > & | psi () const |
Return the field to be interpolated. | |
virtual Type | interpolate (const vector &position, const label nCell, const label facei=-1) const =0 |
Interpolate field to the given point in the given cell. |
Static Public Member Functions | |
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 | |
const GeometricField< Type, fvPatchField, volMesh > & | psi_ |
const polyMesh & | pMesh_ |
const vectorField & | pMeshPoints_ |
const faceList & | pMeshFaces_ |
const vectorField & | pMeshFaceCentres_ |
const vectorField & | pMeshFaceAreas_ |
interpolation | ( | const GeometricField< Type, fvPatchField, volMesh > & | psi | ) |
Construct from components.
Definition at line 42 of file interpolation.C.
|
inlinevirtual |
Definition at line 118 of file interpolation.H.
|
pure virtual |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
interpolation< Type > | , | ||
dictionary | , | ||
(const GeometricField< Type, fvPatchField, volMesh > &psi) | , | ||
(psi) | |||
) |
|
static |
Return a reference to the specified interpolation scheme.
Definition at line 34 of file newInterpolation.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, IOobject::name(), Foam::nl, and psi.
|
static |
Return a reference to the selected interpolation scheme.
Definition at line 63 of file newInterpolation.C.
References dictionary::lookup(), IOobject::name(), and psi.
|
inline |
Return the field to be interpolated.
Definition at line 125 of file interpolation.H.
|
pure virtual |
Interpolate field to the given point in the given cell.
Implemented in interpolationCellPointFace< Type >, interpolationCellPoint< Type >, interpolationCellPoint< scalar >, interpolationCellPoint< vector >, interpolationCellPatchConstrained< Type >, interpolationCellPointWallModified< Type >, and interpolationCell< Type >.
Referenced by spray::atomizationLoop(), spray::breakupLoop(), and parcel::move().
|
protected |
Definition at line 61 of file interpolation.H.
Referenced by interpolation< vector >::psi().
|
protected |
Definition at line 63 of file interpolation.H.
|
protected |
Definition at line 64 of file interpolation.H.
|
protected |
Definition at line 65 of file interpolation.H.
|
protected |
Definition at line 66 of file interpolation.H.
|
protected |
Definition at line 67 of file interpolation.H.