36 #ifndef cell_interpolation_H
37 #define cell_interpolation_H
45 namespace interpolations
91 const label facei = -1
101 const label facei = -1
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Abstract base class for interpolation.
Basic piecewise-constant interpolation method. Interpolates to a point by using the value in the cell...
cell(const VolField< Type > &psi)
Construct from components.
virtual autoPtr< interpolation< Type > > clone() const
Clone.
TypeName("cell")
Runtime type information.
Type interpolate(const vector &position, const label celli, const label facei=-1) const
Interpolate field to the given point in the given cell.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
label cell() const
Return the cell.
const volScalarField & psi
barycentric coordinates(const polyMesh &mesh, const point &position, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
Return the coordinates given the position and tet topology.
point position(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
Return the position given the coordinates and tet topology.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.