Go to the documentation of this file.
83 if (nWarnings < maxNWarnings)
86 <<
"No base point for face " <<
face() <<
", " <<
f
87 <<
", produces a valid tet decomposition." <<
endl;
90 if (nWarnings == maxNWarnings)
93 <<
"Suppressing any further warnings." <<
endl;
99 label facePtI = (tetPti_ + faceBasePtI) %
f.size();
100 label faceOtherPtI =
f.fcIndex(facePtI);
104 std::swap(facePtI, faceOtherPtI);
107 return triFace(
f[faceBasePtI],
f[facePtI],
f[faceOtherPtI]);
127 if (nWarnings < maxNWarnings)
130 <<
"No base point for face " <<
face() <<
", " <<
f
131 <<
", produces a valid tet decomposition." <<
endl;
134 if (nWarnings == maxNWarnings)
137 <<
"Suppressing any further warnings." <<
endl;
143 label facePtI = (tetPti_ + faceBasePtI) %
f.size();
144 label faceOtherPtI =
f.fcIndex(facePtI);
148 std::swap(facePtI, faceOtherPtI);
151 return triFace(faceBasePtI, facePtI, faceOtherPtI);
194 meshOldPoints[tri[0]],
195 meshOldPoints[tri[1]],
196 meshOldPoints[tri[2]]
208 && tetPt() == rhs.
tetPt();
214 return !(*
this == rhs);
virtual const pointField & points() const
Return raw points.
tetPointRef tet(const polyMesh &mesh) const
Return the geometry corresponding to this tet.
triFace triIs(const polyMesh &mesh, const bool warn=true) const
Return the local indices corresponding to the tri on the face.
bool operator==(const tetIndices &) const
label cell() const
Return the cell.
label face() const
Return the face.
triPointRef oldFaceTri(const polyMesh &mesh) const
Return the geometry corresponding to the tri on the face for.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Mesh consisting of general polyhedral cells.
tetrahedron< point, const point & > tetPointRef
A tetrahedron using referred points.
A triangle primitive used to calculate face normals and swept volumes.
triPointRef faceTri(const polyMesh &mesh) const
Return the geometry corresponding to the tri on the face for.
virtual const labelList & faceOwner() const
Return face owner.
virtual const pointField & oldPoints() const
Return old points (mesh motion)
triFace faceTriIs(const polyMesh &mesh, const bool warn=true) const
Return the indices corresponding to the tri on the face for.
label tetPt() const
Return the characterising tetPtI.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
const vectorField & cellCentres() const
virtual const faceList & faces() const
Return raw faces.
A triangular face using a FixedList of labels corresponding to mesh vertices.
A face is a list of labels corresponding to mesh vertices.
bool operator!=(const tetIndices &) const
#define WarningInFunction
Report a warning using Foam::Warning.
A cell is defined as a list of faces with extra functionality.
triangle< point, const point & > triPointRef
A triangle using referred points.
const labelIOList & tetBasePtIs() const
Return the tetBasePtIs.