37 #ifndef Foam_cellPointWeight_H 38 #define Foam_cellPointWeight_H 108 const label facei = -1
static scalar tol
Tolerance used in calculating barycentric coordinates.
triFace faceVertices_
Face vertex indices.
static int debug
Debug switch.
const label celli_
Cell index.
barycentric weights_
Weights applied to tet vertices.
cellPointWeight(const polyMesh &mesh, const vector &position, const label celli, const label facei=-1)
Construct from components.
A triangular face using a FixedList of labels corresponding to mesh vertices.
void findTetrahedron(const polyMesh &mesh, const vector &position, const label celli)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const barycentric & weights() const noexcept
Interpolation weights.
void findTriangle(const polyMesh &mesh, const vector &position, const label facei)
const triFace & faceVertices() const noexcept
Interpolation addressing for points on face.
label cell() const noexcept
Cell index.
Mesh consisting of general polyhedral cells.