Go to the documentation of this file.
37 #ifndef cellPointWeight_H
38 #define cellPointWeight_H
107 const label facei = -1
114 inline label
cell()
const
barycentric weights_
Weights applied to tet vertices. Equal to the barycentric coordinates.
void findTriangle(const polyMesh &mesh, const vector &position, const label facei)
triFace faceVertices_
Face vertex indices.
static scalar tol
Tolerance used in calculating barycentric coordinates.
const triFace & faceVertices() const
Interpolation addressing for points on face.
const label celli_
Cell index.
Mesh consisting of general polyhedral cells.
static int debug
Debug switch.
cellPointWeight(const polyMesh &mesh, const vector &position, const label celli, const label facei=-1)
Construct from components.
label cell() const
Cell index.
A triangular face using a FixedList of labels corresponding to mesh vertices.
const barycentric & weights() const
Interpolation weights.
void findTetrahedron(const polyMesh &mesh, const vector &position, const label celli)