58#ifndef Foam_tetIndices_H
59#define Foam_tetIndices_H
77Ostream&
operator<<(Ostream&,
const tetIndices&);
102 static constexpr int maxNWarnings = 100;
106 static int nWarnings_;
159 const bool warn =
true
167 const bool warn =
true
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Mesh consisting of general polyhedral cells.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
label face() const noexcept
Return the face index.
triFace triIs(const polyMesh &mesh, const bool warn=true) const
~tetIndices()=default
Destructor.
static label compare(const tetIndices &a, const tetIndices &b) noexcept
label & face() noexcept
Non-const access to the face index.
friend Ostream & operator<<(Ostream &, const tetIndices &)
triFace faceTriIs(const polyMesh &mesh, const bool warn=true) 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.
triPointRef faceTri(const polyMesh &mesh) const
label tetPt() const noexcept
Return the characterising tet point index.
label cell() const noexcept
Return the cell index.
constexpr tetIndices() noexcept
Default construct, with invalid labels (-1)
friend Istream & operator>>(Istream &, tetIndices &)
triPointRef oldFaceTri(const polyMesh &mesh) const
label & tetPt() noexcept
Non-const access to the characterising tet point index.
label & cell() noexcept
Non-const access to the cell index.
A triangular face using a FixedList of labels corresponding to mesh vertices.
A triangle primitive used to calculate face normals and swept volumes.
bool operator!=(const eddy &a, const eddy &b)
bool operator<=(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A same or older than B.
bool operator>=(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A same or newer than B.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Istream & operator>>(Istream &, directionInfo &)
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.
bool operator>(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A newer than B.
A template class to specify if a data type is composed solely of Foam::label elements.
A template class to specify that a data type can be considered as being contiguous in memory.