Go to the documentation of this file.
35 #ifndef cellPointWeight_H
36 #define cellPointWeight_H
102 const label faceI = -1
void findTriangle(const polyMesh &mesh, const vector &position, const label faceI)
static scalar tol
Tolerance used in calculating barycentric co-ordinates.
const List< scalar > & weights() const
Interpolation weights.
const label cellI_
Cell index.
void findTetrahedron(const polyMesh &mesh, const vector &position, const label cellI)
Mesh consisting of general polyhedral cells.
static int debug
Debug switch.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
List< scalar > weights_
Weights applied to tet vertices.
List< label > faceVertices_
Face vertex indices.
label cell() const
Cell index.
cellPointWeight(const polyMesh &mesh, const vector &position, const label cellI, const label faceI=-1)
Construct from components.
const List< label > & faceVertices() const
Interpolation addressing for points on face.