35 #ifndef cellPointWeight_H
36 #define cellPointWeight_H
105 const label facei = -1
void findTetrahedron(const polyMesh &mesh, const vector &position, const label celli)
void findTriangle(const polyMesh &mesh, const vector &position, const label facei)
const triFace & faceVertices() const
Interpolation addressing for points on face.
triFace faceVertices_
Face vertex indices.
static scalar tol
Tolerance used in calculating barycentric co-ordinates.
barycentric weights_
Weights applied to tet vertices. Equal to the barycentric coordinates.
label cell() const
Cell index.
cellPointWeight(const polyMesh &mesh, const vector &position, const label celli, const label facei=-1)
Construct from components.
ClassName("cellPointWeight")
Type information.
const barycentric & weights() const
Interpolation weights.
const label celli_
Cell index.
Mesh consisting of general polyhedral cells.
A triangular face using a FixedList of labels corresponding to mesh vertices.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.