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.
Tets are designated by
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 38 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(), Dual< Type >::add(), polyMeshTetDecomposition::findTet(), Basic< Type >::interpolate(), Dual< Type >::interpolate(), interpolationCellPoint< Type >::interpolate(), Basic< Type >::interpolateGrad(), Dual< Type >::interpolateGrad(), interpolation< Foam::Vector >::New(), Foam::operator<<(), tetIndices::operator==(), and Foam::operator>>().
|
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 polyMesh::findTetFacePt(), interpolationCellPoint< Type >::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 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 HashTable< T, Key, Hash >::clear(), Foam::endl(), f(), polyMesh::faceOwner(), polyMesh::faces(), UList< T >::fcIndex(), HashSet< Key, Hash >::set(), List< T >::size(), Foam::Swap(), polyMesh::tetBasePtIs(), objectRegistry::time(), TimeState::timeIndex(), triFace(), and WarningInFunction.
Referenced by Dual< Type >::add(), Dual< Type >::Dual(), cellPointWeight::findTetrahedron(), cellPointWeight::findTriangle(), Dual< Type >::interpolate(), interpolationCellPoint< Type >::interpolate(), and Dual< Type >::interpolateGrad().
|
inline |
Return the geometry corresponding to this tet.
Definition at line 108 of file tetIndicesI.H.
References primitiveMesh::cellCentres(), and polyMesh::points().
Referenced by Dual< Type >::Dual(), polyMeshTetDecomposition::findTet(), cellPointWeight::findTetrahedron(), and interpolation< Foam::Vector >::New().
|
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 polyMesh::points().
Referenced by cellPointWeight::findTriangle(), FreeStream< CloudType >::inflow(), polyMesh::pointInCell(), and PatchFlowRateInjection< CloudType >::setPositionAndCell().
|
inline |
Return the geometry corresponding to the tri on the face for.
this tet using the old positions.
Definition at line 137 of file tetIndicesI.H.
References polyMesh::oldPoints().
|
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 |