Go to the documentation of this file.
51 inline Istream&
operator>>(Istream&, labelledTri&);
52 inline Ostream&
operator<<(Ostream&,
const labelledTri&);
71 template<
class ListType>
72 inline void assignList(
const ListType& list);
104 inline explicit labelledTri(std::initializer_list<label>);
113 label
index() const noexcept
119 label&
index() noexcept
125 void setIndex(
const label idx) noexcept
131 label
region() const noexcept
169 result[xi] =
x[xi] + offset;
label & region() noexcept
Non-const access to the region index.
void setIndex(const label idx) noexcept
Set the index (eg, the region)
labelledTri operator()(const labelledTri &x, const label offset) const
friend Istream & operator>>(Istream &, labelledTri &)
Istream & operator>>(Istream &, directionInfo &)
triPointRef tri(const UList< point > &points) const
Return the triangle.
A template class to specify if a data type is composed solely of Foam::label elements.
#define forAll(list, i)
Loop across all elements in list.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
T operator()(const T &x, const label offset) const
label index() const noexcept
Return the index (eg, the region)
labelledTri()
Default construct, with invalid point labels and region (-1).
Offset operator for ListListOps::combineOffset()
label & index() noexcept
Non-const access to the index (eg, the region)
A triangular face using a FixedList of labels corresponding to mesh vertices.
A triFace with additional (region) index.
const dimensionedScalar c
Speed of light in a vacuum.
friend Ostream & operator<<(Ostream &, const labelledTri &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A template class to specify that a data type can be considered as being contiguous in memory.
label region() const noexcept
Return the region index.