Foam::cellPointWeight. More...
Public Member Functions | |
cellPointWeight (const polyMesh &mesh, const vector &position, const label cellI, const label faceI=-1) | |
Construct from components. More... | |
label | cell () const |
Cell index. More... | |
const List< scalar > & | weights () const |
Interpolation weights. More... | |
const List< label > & | faceVertices () const |
Interpolation addressing for points on face. More... | |
Static Public Attributes | |
static int | debug |
Debug switch. More... | |
static scalar | tol |
Tolerance used in calculating barycentric co-ordinates. More... | |
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. More... | |
List< scalar > | weights_ |
Weights applied to tet vertices. More... | |
List< label > | faceVertices_ |
Face vertex indices. More... | |
Definition at line 50 of file cellPointWeight.H.
cellPointWeight | ( | const polyMesh & | mesh, |
const vector & | position, | ||
const label | cellI, | ||
const label | faceI = -1 |
||
) |
|
protected |
Definition at line 39 of file cellPointWeight.C.
References tetrahedron::barycentric(), Foam::det(), PointHit::distance(), Foam::endl(), f(), tetIndices::face(), tetIndices::faceBasePt(), tetIndices::facePtA(), tetIndices::facePtB(), forAll, Foam::mag(), mesh, tetrahedron::nearestPoint(), Foam::nl, pFaces, Foam::Pout, tetIndices::tet(), and w().
Definition at line 141 of file cellPointWeight.C.
References triangle::barycentric(), Foam::det(), PointHit::distance(), Foam::endl(), f(), tetIndices::faceBasePt(), tetIndices::facePtA(), tetIndices::facePtB(), tetIndices::faceTri(), forAll, Foam::mag(), Foam::magSqr(), mesh, triangle::nearestPoint(), Foam::nl, and Foam::Pout.
Cell index.
Definition at line 108 of file cellPointWeight.H.
References cellPointWeight::cellI_.
Referenced by interpolationCellPointWallModified< Type >::interpolate(), and interpolationCellPoint< Foam::Vector >::interpolate().
|
inline |
Interpolation weights.
Definition at line 114 of file cellPointWeight.H.
References cellPointWeight::weights_.
Referenced by interpolationCellPointWallModified< Type >::interpolate(), and interpolationCellPoint< Foam::Vector >::interpolate().
Interpolation addressing for points on face.
Definition at line 120 of file cellPointWeight.H.
References cellPointWeight::faceVertices_.
Referenced by interpolationCellPointWallModified< Type >::interpolate(), and interpolationCellPoint< Foam::Vector >::interpolate().
|
protected |
|
protected |
Weights applied to tet vertices.
Definition at line 60 of file cellPointWeight.H.
Referenced by cellPointWeight::weights().
Face vertex indices.
Definition at line 63 of file cellPointWeight.H.
Referenced by cellPointWeight::faceVertices().
|
static |
Debug switch.
Definition at line 86 of file cellPointWeight.H.
|
static |
Tolerance used in calculating barycentric co-ordinates.
(applied to normalised values)
Definition at line 90 of file cellPointWeight.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.