51inline Istream&
operator>>(Istream&, labelledTri&);
52inline Ostream&
operator<<(Ostream&,
const labelledTri&);
71 template<
class ListType>
72 inline void assignList(
const ListType& list);
104 inline explicit labelledTri(std::initializer_list<label>);
142 void setIndex(
const label idx)
noexcept
186 result[xi] =
x[xi] + offset;
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.
A triangular face using a FixedList of labels corresponding to mesh vertices.
triPointRef tri(const UList< point > &points) const
Return the triangle.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)
#define forAll(list, i)
Loop across all elements in list.
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