Foam::cellPointWeight. More...
#include <finiteVolume/cellPointWeight.H>
Definition at line 51 of file cellPointWeight.H.
Public Member Functions | |
cellPointWeight (const polyMesh &mesh, const vector &position, const label nCell, const label facei=-1) | |
Construct from components. | |
label | cell () const |
Cell index. | |
const FixedList< scalar, 4 > & | weights () const |
interpolation weights | |
const FixedList< label, 3 > & | faceVertices () const |
interpolation addressing for points on face |
Static Public Attributes | |
static int | debug |
Debug switch. | |
static scalar | tol |
Tolerance used in calculating barycentric co-ordinates. |
Protected Member Functions | |
void | findTetrahedron (const polyMesh &mesh, const vector &position, const label cellIndex) |
void | findTriangle (const polyMesh &mesh, const vector &position, const label faceIndex) |
Protected Attributes | |
const label | cellIndex_ |
Cell index. | |
FixedList< scalar, 4 > | weights_ |
Weights applied to tet vertices. | |
FixedList< label, 3 > | faceVertices_ |
Face vertex indices. |
cellPointWeight | ( | const polyMesh & | mesh, |
const vector & | position, | ||
const label | nCell, | ||
const label | facei = -1 |
||
) |
Construct from components.
Definition at line 308 of file cellPointWeight.C.
|
protected |
Definition at line 37 of file cellPointWeight.C.
References primitiveMesh::cellCentres(), primitiveMesh::cells(), primitiveMesh::cellVolumes(), Foam::endl(), polyMesh::faces(), forAll, Foam::mag(), Foam::nl, polyMesh::points(), Foam::Pout, List< T >::size(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
protected |
Definition at line 186 of file cellPointWeight.C.
References Foam::endl(), primitiveMesh::faceAreas(), polyMesh::faces(), Foam::mag(), magSqr(), Foam::nl, polyMesh::points(), Foam::Pout, List< T >::size(), v1, and v2.
|
inline |
Cell index.
Definition at line 109 of file cellPointWeight.H.
References cellPointWeight::cellIndex_.
Referenced by interpolationCellPointWallModified< Type >::interpolate(), and interpolationCellPoint< Type >::interpolate().
|
inline |
interpolation weights
Definition at line 115 of file cellPointWeight.H.
References cellPointWeight::weights_.
Referenced by interpolationCellPointWallModified< Type >::interpolate(), and interpolationCellPoint< Type >::interpolate().
|
inline |
interpolation addressing for points on face
Definition at line 121 of file cellPointWeight.H.
References cellPointWeight::faceVertices_.
Referenced by interpolationCellPointWallModified< Type >::interpolate(), and interpolationCellPoint< Type >::interpolate().
|
protected |
|
protected |
Weights applied to tet vertices.
Definition at line 61 of file cellPointWeight.H.
Referenced by cellPointWeight::weights().
|
protected |
Face vertex indices.
Definition at line 64 of file cellPointWeight.H.
Referenced by cellPointWeight::faceVertices().
|
static |
Debug switch.
Definition at line 87 of file cellPointWeight.H.
|
static |
Tolerance used in calculating barycentric co-ordinates.
(applied to normalised values)
Definition at line 91 of file cellPointWeight.H.