Basic piecewise-constant interpolation method. Interpolates to a point by using the value in the cell containing the point. More...


Public Member Functions | |
| TypeName ("cell") | |
| Runtime type information. More... | |
| cell (const VolField< Type > &psi) | |
| Construct from components. More... | |
| cell (const cell< Type > &i) | |
| Copy construct. More... | |
| virtual autoPtr< interpolation< Type > > | clone () const |
| Clone. 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... | |
Basic piecewise-constant interpolation method. Interpolates to a point by using the value in the cell containing the point.
Definition at line 52 of file cell_interpolation.H.
Construct from components.
Definition at line 32 of file cell_interpolation.C.
Copy construct.
Definition at line 39 of file cell_interpolation.C.
| TypeName | ( | "cell< Type >" | ) |
Runtime type information.
|
inlinevirtual |
Clone.
Definition at line 71 of file cell_interpolation.H.
Interpolate field to the given point in the given cell.
Definition at line 48 of file cell_interpolation.C.
|
inline |
Interpolate field to the given coordinates in the tetrahedron.
defined by the given indices. This is an optimisation which skips calculating the position, as cell interpolation doesn't need it.
Definition at line 96 of file cell_interpolation.H.