73 if (nWarnings < maxNWarnings)
76 <<
"No base point for face " <<
face() <<
", " << f
77 <<
", produces a valid tet decomposition." <<
endl;
80 if (nWarnings == maxNWarnings)
83 <<
"Suppressing any further warnings." <<
endl;
93 Swap(facePtI, faceOtherPtI);
96 return triFace(f[faceBasePtI], f[facePtI], f[faceOtherPtI]);
139 meshOldPoints[tri[0]],
140 meshOldPoints[tri[1]],
141 meshOldPoints[tri[2]]
159 return !(*
this == rhs);
tetrahedron< point, const point & > tetPointRef
label tetPt() const
Return the characterising tetPtI.
A triangle primitive used to calculate face areas and swept volumes.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A face is a list of labels corresponding to mesh vertices.
const labelIOList & tetBasePtIs() const
Return the tetBasePtIs.
triPointRef faceTri(const polyMesh &mesh) const
Return the geometry corresponding to the tri on the face for.
void size(const label)
Override size to be inconsistent with allocated storage.
label fcIndex(const label i) const
Return the forward circular index, i.e. the next index.
Ostream & endl(Ostream &os)
Add newline and flush stream.
triFace faceTriIs(const polyMesh &mesh) const
Return the indices corresponding to the tri on the face for.
tetPointRef tet(const polyMesh &mesh) const
Return the geometry corresponding to this tet.
virtual const pointField & points() const
Return raw points.
bool operator==(const tetIndices &) const
A triangular face using a FixedList of labels corresponding to mesh vertices.
label cell() const
Return the cell.
virtual const pointField & oldPoints() const
Return old points for mesh motion.
virtual const labelList & faceOwner() const
Return face owner.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
virtual const faceList & faces() const
Return raw faces.
const vectorField & cellCentres() const
label face() const
Return the face.
bool operator!=(const tetIndices &) const
#define WarningInFunction
Report a warning using Foam::Warning.
triangle< point, const point & > triPointRef
Mesh consisting of general polyhedral cells.
triPointRef oldFaceTri(const polyMesh &mesh) const
Return the geometry corresponding to the tri on the face for.