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.
virtual ~interpolation | ( | ) | [inline, virtual]
|
Definition at line 118 of file interpolation.H.
virtual const word& type | ( | ) | const [pure virtual]
|
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
interpolation< Type > | , | ||
dictionary | , | ||
(const GeometricField< Type, fvPatchField, volMesh > &psi) | , | ||
(psi) | |||
) |
Foam::autoPtr< Foam::interpolation< Type > > New | ( | const word & | interpolationType, |
const GeometricField< Type, fvPatchField, volMesh > & | 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.
Foam::autoPtr< Foam::interpolation< Type > > New | ( | const dictionary & | interpolationSchemes, |
const GeometricField< Type, fvPatchField, volMesh > & | 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.
const GeometricField<Type, fvPatchField, volMesh>& psi | ( | ) | const [inline]
|
Return the field to be interpolated.
Definition at line 125 of file interpolation.H.
virtual Type interpolate | ( | const vector & | position, |
const label | nCell, | ||
const label | facei = -1
|
||
) | const [pure virtual]
|
Interpolate field to the given point in the given cell.
Implemented in interpolationCell< Type >, interpolationCellPatchConstrained< Type >, interpolationCellPoint< Type >, interpolationCellPointFace< Type >, interpolationCellPointWallModified< Type >, interpolationCellPoint< scalar >, and interpolationCellPoint< vector >.
Referenced by spray::atomizationLoop(), spray::breakupLoop(), and parcel::move().
const GeometricField<Type, fvPatchField, volMesh>& psi_ [protected]
|
Definition at line 61 of file interpolation.H.
Referenced by interpolation< vector >::psi().
Definition at line 63 of file interpolation.H.
const vectorField& pMeshPoints_ [protected]
|
Definition at line 64 of file interpolation.H.
const faceList& pMeshFaces_ [protected]
|
Definition at line 65 of file interpolation.H.
const vectorField& pMeshFaceCentres_ [protected]
|
Definition at line 66 of file interpolation.H.
const vectorField& pMeshFaceAreas_ [protected]
|
Definition at line 67 of file interpolation.H.