Foam::cellPointWeight. More...
#include <cellPointWeight.H>


Public Member Functions | |
| cellPointWeight (const polyMesh &mesh, const vector &position, const label celli, const label facei=-1) | |
| Construct from components. | |
| label | cell () const noexcept |
| Cell index. | |
| const barycentric & | weights () const noexcept |
| Interpolation weights. | |
| const triFace & | faceVertices () const noexcept |
| Interpolation addressing for points on face. | |
Static Public Attributes | |
| static int | debug |
| Debug switch. | |
| static scalar | tol |
| Tolerance used in calculating barycentric coordinates. | |
Protected Member Functions | |
| void | findTetrahedron (const polyMesh &mesh, const vector &position, const label celli) |
| void | findTriangle (const polyMesh &mesh, const vector &position, const label facei) |
Protected Attributes | |
| const label | celli_ |
| Cell index. | |
| barycentric | weights_ |
| Weights applied to tet vertices. | |
| triFace | faceVertices_ |
| Face vertex indices. | |
Definition at line 51 of file cellPointWeight.H.
| cellPointWeight | ( | const polyMesh & | mesh, |
| const vector & | position, | ||
| const label | celli, | ||
| const label | facei = -1 ) |
Construct from components.
Definition at line 235 of file cellPointWeight.C.
References celli_, findTetrahedron(), findTriangle(), and mesh.
Referenced by cellPointWeightWallModified::cellPointWeightWallModified().


|
protected |
Definition at line 33 of file cellPointWeight.C.
References polyMeshTetDecomposition::cellTetIndices(), debug, Foam::det(), PointHit< PointType >::distance(), Foam::endl(), tetIndices::faceTriIs(), faceVertices_, forAll, Foam::mag(), mesh, tetrahedron< Point, PointRef >::nearestPoint(), Foam::nl, tetrahedron< Point, PointRef >::pointToBarycentric(), Foam::Pout, tetIndices::tet(), tol, and weights_.
Referenced by cellPointWeight().


Definition at line 127 of file cellPointWeight.C.
References debug, Foam::det(), PointHit< PointType >::distance(), Foam::endl(), polyMeshTetDecomposition::faceTetIndices(), tetIndices::faceTri(), tetIndices::faceTriIs(), faceVertices_, forAll, Foam::mag(), Foam::magSqr(), mesh, triangle< Point, PointRef >::nearestPoint(), Foam::nl, triangle< Point, PointRef >::pointToBarycentric(), Foam::Pout, tol, and weights_.
Referenced by cellPointWeight().


|
inlinenoexcept |
Cell index.
Definition at line 126 of file cellPointWeight.H.
References celli_, and Foam::noexcept.
Referenced by interpolationCellPoint< Type >::interpolate().

|
inlinenoexcept |
Interpolation weights.
Definition at line 134 of file cellPointWeight.H.
References Foam::noexcept, and weights_.
Referenced by interpolationCellPoint< Type >::interpolate().

|
inlinenoexcept |
Interpolation addressing for points on face.
Definition at line 142 of file cellPointWeight.H.
References faceVertices_, and Foam::noexcept.
Referenced by interpolationCellPoint< Type >::interpolate().

|
protected |
Cell index.
Definition at line 60 of file cellPointWeight.H.
Referenced by cell(), and cellPointWeight().
|
protected |
Weights applied to tet vertices.
Equal to the barycentric coordinates of the interpolation position.
Definition at line 67 of file cellPointWeight.H.
Referenced by cellPointWeightWallModified::cellPointWeightWallModified(), findTetrahedron(), findTriangle(), and weights().
|
protected |
Face vertex indices.
Definition at line 72 of file cellPointWeight.H.
Referenced by faceVertices(), findTetrahedron(), and findTriangle().
|
static |
Debug switch.
Definition at line 97 of file cellPointWeight.H.
Referenced by findTetrahedron(), and findTriangle().
|
static |
Tolerance used in calculating barycentric coordinates.
(applied to normalised values)
Definition at line 104 of file cellPointWeight.H.
Referenced by findTetrahedron(), and findTriangle().