76 static label badTimeIndex = -1;
84 if (!badFaces[
face()])
87 <<
"No base point for face " <<
face() <<
", " << f
88 <<
", produces a valid tet decomposition." <<
endl;
101 Swap(facePtI, faceOtherPtI);
104 return triFace(f[faceBasePtI], f[facePtI], f[faceOtherPtI]);
147 meshOldPoints[tri[0]],
148 meshOldPoints[tri[1]],
149 meshOldPoints[tri[2]]
167 return !(*
this == rhs);
bool set(const Key &key)
Same as insert (cannot overwrite nil content)
tetrahedron< point, const point & > tetPointRef
label tetPt() const
Return the characterising tetPtI.
A triangle primitive used to calculate face areas and swept volumes.
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.
void clear()
Clear all entries from table.
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.
const Time & time() const
Return time.
bool operator!=(const tetIndices &) const
label timeIndex() const
Return current time index.
#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.