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 |
Return the indices corresponding to the tri on the face for. 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 81 of file tetIndices.H.
tetIndices | ( | ) |
Construct null.
Definition at line 30 of file tetIndices.C.
tetIndices | ( | label | celli, |
label | facei, | ||
label | tetPtI | ||
) |
Construct from components.
Definition at line 39 of file tetIndices.C.
~tetIndices | ( | ) |
Destructor.
Definition at line 53 of file tetIndices.C.
|
inline |
Return the cell.
Definition at line 31 of file tetIndicesI.H.
Referenced by Basic< Type >::add(), Moment< Type >::add(), Dual< Type >::add(), tetIndices::faceTriIs(), polyMeshTetDecomposition::findTet(), interpolationCell< 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 tetIndices::tet().
|
inline |
Return non-const access to the cell.
Definition at line 37 of file tetIndicesI.H.
|
inline |
Return the face.
Definition at line 43 of file tetIndicesI.H.
Referenced by tetIndices::faceTriIs(), polyMesh::findTetFacePt(), interpolationCellPoint< Foam::Vector >::interpolate(), Foam::operator<<(), tetIndices::operator==(), and Foam::operator>>().
|
inline |
Return non-const access to the face.
Definition at line 49 of file tetIndicesI.H.
|
inline |
Return the characterising tetPtI.
Definition at line 55 of file tetIndicesI.H.
Referenced by tetIndices::faceTriIs(), polyMesh::findTetFacePt(), Foam::operator<<(), tetIndices::operator==(), and Foam::operator>>().
|
inline |
Return non-const access to the characterising tetPtI.
Definition at line 61 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 tetIndices::cell(), HashTable< T, Key, Hash >::clear(), Foam::endl(), f(), tetIndices::face(), polyMesh::faceOwner(), polyMesh::faces(), UList< T >::fcIndex(), HashSet< Key, Hash >::set(), List< T >::size(), Foam::Swap(), polyMesh::tetBasePtIs(), tetIndices::tetPt(), objectRegistry::time(), TimeState::timeIndex(), triFace(), and WarningInFunction.
Referenced by Moment< Type >::add(), Dual< Type >::add(), Dual< Type >::Dual(), tetIndices::faceTri(), cellPointWeight::findTetrahedron(), cellPointWeight::findTriangle(), interpolationCellPoint< Foam::Vector >::interpolate(), Moment< Type >::interpolate(), Dual< Type >::interpolate(), Dual< Type >::interpolateGrad(), Moment< Type >::Moment(), tetIndices::oldFaceTri(), tetIndices::tet(), and AveragingMethod< Foam::Vector >::write().
|
inline |
Return the geometry corresponding to this tet.
Definition at line 108 of file tetIndicesI.H.
References tetIndices::cell(), primitiveMesh::cellCentres(), tetIndices::faceTriIs(), and polyMesh::points().
Referenced by Dual< Type >::Dual(), polyMeshTetDecomposition::findTet(), cellPointWeight::findTetrahedron(), interpolation< Foam::Vector >::interpolate(), Moment< Type >::Moment(), 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 123 of file tetIndicesI.H.
References tetIndices::faceTriIs(), tetIndices::oldFaceTri(), and polyMesh::points().
Referenced by cellPointWeight::findTriangle(), FreeStream< CloudType >::inflow(), particle::normal(), and polyMesh::pointInCell().
|
inline |
Return the geometry corresponding to the tri on the face for.
this tet using the old positions.
Definition at line 138 of file tetIndicesI.H.
References tetIndices::faceTriIs(), and polyMesh::oldPoints().
Referenced by tetIndices::faceTri().
|
inline |
Definition at line 156 of file tetIndicesI.H.
References tetIndices::cell(), tetIndices::face(), and tetIndices::tetPt().
|
inline |
Definition at line 165 of file tetIndicesI.H.
|
friend |
|
friend |