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