38#ifndef Foam_labelledTri_H
39#define Foam_labelledTri_H
71 template<
class ListType>
72 inline void assignList(
const ListType& list);
104 inline explicit labelledTri(std::initializer_list<label>);
130 label
index()
const noexcept
136 label&
index()
noexcept
142 void setIndex(
const label idx)
noexcept
A 1D vector of objects of type <T> with a fixed length <N>.
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,...
A triFace with additional (region) index.
labelledTri()
Default construct, with invalid point labels and region (-1).
friend Istream & operator>>(Istream &, labelledTri &)
void setIndex(const label idx) noexcept
Set the index (eg, the region).
label & index() noexcept
Non-const access to the index (eg, the region).
label index() const noexcept
Return the index (eg, the region).
friend Ostream & operator<<(Ostream &, const labelledTri &)
label region() const noexcept
Return the region index.
label & region() noexcept
Non-const access to the region index.
triFace()
Default construct, with invalid vertex labels (-1).
triPointRef tri(const UList< point > &points) const
Return the triangle.
const volScalarField & p0
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
Istream & operator>>(Istream &, directionInfo &)
UList< label > labelUList
A UList of labels.
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.
labelledTri operator()(const labelledTri &x, const label offset) const
Offset operator for ListListOps::combineOffset().
T operator()(const T &x, const label offset) const