Storage and named access for the indices of a tet which is part of the decomposition of a cell. More...
Public Member Functions | |
tetIndices () | |
Construct null. More... | |
tetIndices (label celli, label facei, label tetPtI) | |
Construct from components. More... | |
~tetIndices () | |
Destructor. More... | |
label | cell () const |
Return the cell. More... | |
label & | cell () |
Return non-const access to the cell. More... | |
label | face () const |
Return the face. More... | |
label & | face () |
Return non-const access to the face. More... | |
label | tetPt () const |
Return the characterising tetPtI. More... | |
label & | tetPt () |
Return non-const access to the characterising tetPtI. More... | |
triFace | faceTriIs (const polyMesh &mesh, const bool warn=true) const |
Return the indices corresponding to the tri on the face for. More... | |
triFace | triIs (const polyMesh &mesh, const bool warn=true) const |
Return the local indices corresponding to the tri on the face. More... | |
tetPointRef | tet (const polyMesh &mesh) const |
Return the geometry corresponding to this tet. More... | |
triPointRef | faceTri (const polyMesh &mesh) const |
Return the geometry corresponding to the tri on the face for. More... | |
triPointRef | oldFaceTri (const polyMesh &mesh) const |
Return the geometry corresponding to the tri on the face for. More... | |
bool | operator== (const tetIndices &) const |
bool | operator!= (const tetIndices &) const |
Friends | |
Istream & | operator>> (Istream &, tetIndices &) |
Ostream & | operator<< (Ostream &, const tetIndices &) |
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
facePtB is next one after/before facePtA e.g.:
+—+ |2 /| | / | |/ 1| <- tetPt (so 1 for first triangle, 2 for second) +—+ ^ faceBasePt
Definition at line 83 of file tetIndices.H.
tetIndices | ( | ) |
Construct null.
Definition at line 39 of file tetIndices.C.
tetIndices | ( | label | celli, |
label | facei, | ||
label | tetPtI | ||
) |
Construct from components.
Definition at line 48 of file tetIndices.C.
~tetIndices | ( | ) |
Destructor.
Definition at line 62 of file tetIndices.C.
|
inline |
Return the cell.
Definition at line 30 of file tetIndicesI.H.
Referenced by Basic< Type >::add(), Moment< Type >::add(), Dual< Type >::add(), polyMeshTetDecomposition::findTet(), interpolationCell< scalar >::interpolate(), interpolationCellPointWallModified< Type >::interpolate(), interpolationCellPatchConstrained< Type >::interpolate(), interpolationCellPoint< Foam::Vector >::interpolate(), Basic< Type >::interpolate(), interpolation< Foam::Vector >::interpolate(), Moment< Type >::interpolate(), Dual< Type >::interpolate(), Basic< Type >::interpolateGrad(), Moment< Type >::interpolateGrad(), Dual< Type >::interpolateGrad(), Foam::operator<<(), tetIndices::operator==(), Foam::operator>>(), and wallBoundedStreamLine::track().
|
inline |
Return non-const access to the cell.
Definition at line 36 of file tetIndicesI.H.
|
inline |
Return the face.
Definition at line 42 of file tetIndicesI.H.
Referenced by polyMesh::findTetFacePt(), interpolationCellPointWallModified< Type >::interpolate(), interpolationCellPoint< Foam::Vector >::interpolate(), Foam::operator<<(), tetIndices::operator==(), Foam::operator>>(), wallBoundedStreamLine::track(), and wallBoundedParticle::trackToEdge().
|
inline |
Return non-const access to the face.
Definition at line 48 of file tetIndicesI.H.
|
inline |
Return the characterising tetPtI.
Definition at line 54 of file tetIndicesI.H.
Referenced by polyMesh::findTetFacePt(), Foam::operator<<(), tetIndices::operator==(), Foam::operator>>(), and wallBoundedStreamLine::track().
|
inline |
Return non-const access to the characterising tetPtI.
Definition at line 60 of file tetIndicesI.H.
|
inline |
Return the indices corresponding to the tri on the face for.
this tet. The normal of the tri points out of the cell
Definition at line 67 of file tetIndicesI.H.
References Foam::endl(), f(), polyMesh::faceOwner(), polyMesh::faces(), mesh, Foam::Swap(), polyMesh::tetBasePtIs(), triFace(), Foam::Warning, and WarningInFunction.
Referenced by Moment< Type >::add(), Dual< Type >::add(), Dual< Type >::Dual(), cellPointWeight::findTetrahedron(), cellPointWeight::findTriangle(), interpolationCellPoint< Foam::Vector >::interpolate(), Moment< Type >::interpolate(), Dual< Type >::interpolate(), Dual< Type >::interpolateGrad(), Moment< Type >::Moment(), and AveragingMethod< Foam::Vector >::write().
|
inline |
Return the local indices corresponding to the tri on the face.
for this tet. The normal of the tri points out of the cell
Definition at line 111 of file tetIndicesI.H.
References Foam::endl(), f(), polyMesh::faceOwner(), polyMesh::faces(), mesh, Foam::Swap(), polyMesh::tetBasePtIs(), triFace(), Foam::Warning, and WarningInFunction.
Referenced by wallBoundedParticle::trackToEdge().
|
inline |
Return the geometry corresponding to this tet.
Definition at line 154 of file tetIndicesI.H.
References primitiveMesh::cellCentres(), mesh, and polyMesh::points().
Referenced by nearWallFields::calcAddressing(), Dual< Type >::Dual(), polyMeshTetDecomposition::findTet(), cellPointWeight::findTetrahedron(), interpolation< Foam::Vector >::interpolate(), Moment< Type >::Moment(), wallBoundedParticle::trackToEdge(), and AveragingMethod< Foam::Vector >::write().
|
inline |
Return the geometry corresponding to the tri on the face for.
this tet. The normal of the tri points out of the cell
Definition at line 169 of file tetIndicesI.H.
References mesh, and polyMesh::points().
Referenced by cellPointWeight::findTriangle(), FreeStream< CloudType >::inflow(), polyMesh::pointInCell(), wallBoundedStreamLine::track(), and wallBoundedParticle::trackToEdge().
|
inline |
Return the geometry corresponding to the tri on the face for.
this tet using the old positions
Definition at line 184 of file tetIndicesI.H.
References mesh, and polyMesh::oldPoints().
|
inline |
Definition at line 202 of file tetIndicesI.H.
References tetIndices::cell(), tetIndices::face(), and tetIndices::tetPt().
|
inline |
Definition at line 211 of file tetIndicesI.H.
|
friend |
|
friend |