58 #ifndef Foam_tetIndices_H 59 #define Foam_tetIndices_H 77 Ostream&
operator<<(Ostream&,
const tetIndices&);
101 static constexpr
int maxNWarnings = 100;
105 static int nWarnings_;
158 const bool warn =
true 166 const bool warn =
true 222 template<>
struct is_contiguous_label<tetIndices> : std::true_type {};
~tetIndices()=default
Destructor.
A triangle primitive used to calculate face normals and swept volumes. Uses referred points...
point barycentricToPoint(const polyMesh &mesh, const barycentric &bary) const
The x/y/z position for given barycentric coordinates (where point0 is the cell centre).
triPointRef faceTri(const polyMesh &mesh) const
The triangle geometry for the face for this tet. The normal of the tri points out of the cell...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool operator>(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A newer than B.
friend Istream & operator>>(Istream &, tetIndices &)
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.
tetPointRef tet(const polyMesh &mesh) const
The tet geometry for this tet, where point0 is the cell centre.
bool operator>=(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A same or newer than B.
bool operator<=(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A same or older than B.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
label cell() const noexcept
Return the cell index.
A triangular face using a FixedList of labels corresponding to mesh vertices.
Istream & operator>>(Istream &, directionInfo &)
friend Ostream & operator<<(Ostream &, const tetIndices &)
label tetPt() const noexcept
Return the characterising tet point index.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
constexpr tetIndices() noexcept
Default construct, with invalid labels (-1)
tetPointRef oldTet(const polyMesh &mesh) const
The tet geometry for this tet (using old positions), where point0 is the cell centre.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
triFace triIs(const polyMesh &mesh, const bool warn=true) const
Local indices corresponding to the tri on the face for this tet. The normal of the tri points out of ...
label face() const noexcept
Return the face index.
A template class to specify that a data type can be considered as being contiguous in memory...
bool operator!=(const eddy &a, const eddy &b)
Mesh consisting of general polyhedral cells.
triPointRef oldFaceTri(const polyMesh &mesh) const
The triangle geometry for the face for this tet (using old positions)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
triFace faceTriIs(const polyMesh &mesh, const bool warn=true) const
The indices corresponding to the tri on the face for this tet. The normal of the tri points out of th...
static label compare(const tetIndices &a, const tetIndices &b) noexcept
Compare tetIndices for equality. Compares cell, face, tetPt elements in order, stopping at the first ...