

Public Member Functions | |
| interpolationBase (const VolField< Type > &psi) | |
| Construct from components. More... | |
| interpolationBase (const interpolationBase< Type > &i) | |
| Copy constructor. More... | |
| virtual | ~interpolationBase () |
| Destructor. More... | |
| const VolField< Type > & | psi () const |
| Return the field to be interpolated. More... | |
| virtual Type | interpolate (const vector &position, const label celli, const label facei=-1) const =0 |
| Interpolate to the given point in the given cell. More... | |
| virtual tmp< Field< Type > > | interpolate (const vectorField &position, const labelList &celli, const labelList &facei=NullObjectRef< labelList >()) const =0 |
| As above, but for a field. More... | |
| virtual Type | interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const |
| Interpolate to the given coordinates in the. More... | |
| virtual tmp< Field< Type > > | interpolate (const Field< barycentric > &coordinates, const labelList &celli, const labelList &tetFacei, const labelList &tetPti, const labelList &facei=NullObjectRef< labelList >()) const =0 |
| As above, but for a field. More... | |
Protected Attributes | |
| const VolField< Type > & | psi_ |
| The vol field to interpolate. More... | |
| const polyMesh & | mesh_ |
| Reference to the mesh. More... | |
Definition at line 60 of file interpolation.H.
| interpolationBase | ( | const VolField< Type > & | psi | ) |
Construct from components.
Definition at line 31 of file interpolation.C.
| interpolationBase | ( | const interpolationBase< Type > & | i | ) |
Copy constructor.
Definition at line 39 of file interpolation.C.
|
virtual |
Destructor.
Definition at line 89 of file interpolation.C.
|
inline |
Return the field to be interpolated.
Definition at line 91 of file interpolation.H.
References interpolationBase< Type >::psi_.
|
pure virtual |
Interpolate to the given point in the given cell.
|
pure virtual |
As above, but for a field.
|
virtual |
Interpolate to the given coordinates in the.
tetrahedron defined by the given indices. Calls interpolate function above here except where overridden by derived interpolation types.
Definition at line 106 of file interpolation.C.
References tetrahedron< Point, PointRef >::barycentricToPoint(), tetIndices::cell(), Foam::tracking::coordinates(), Foam::fvc::interpolate(), and tetIndices::tet().

|
pure virtual |
As above, but for a field.
|
protected |
The vol field to interpolate.
Definition at line 67 of file interpolation.H.
Referenced by interpolationBase< Type >::psi().
|
protected |
Reference to the mesh.
Definition at line 70 of file interpolation.H.