Go to the documentation of this file.
33 inline void Foam::labelledTri::assign(
const labelUList& lst)
35 const label sz = lst.size();
41 <<
"size " << sz <<
" != (3 or 4)"
45 for (label i=0; i<3; ++i)
50 region_ = (sz > 3 ? lst[3] : 0);
132 is >>
static_cast<triFace&
>(t) >> t.region_;
138 Detail::readContiguous<labelledTri>
141 reinterpret_cast<char*
>(&t),
163 reinterpret_cast<const char*
>(&t),
List< label > labelList
A List of labels.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
streamFormat format() const noexcept
Get the current stream format.
Istream & operator>>(Istream &, directionInfo &)
bool readEnd(const char *funcName)
End read of data chunk, ends with ')'.
bool readBegin(const char *funcName)
Begin read of data chunk, starts with '('.
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)....
label region() const
Return region label.
labelledTri()
Default construct, with invalid point labels and region (-1).
virtual bool check(const char *operation) const
Check IOstream status for given operation.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
errorManip< error > abort(error &err)
label & operator[](const label i)
Return element of FixedList.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A triangular face using a FixedList of labels corresponding to mesh vertices.
Triangle with additional region number.
const dimensionedScalar c
Speed of light in a vacuum.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
UList< label > labelUList
A UList of labels.
Begin list [isseparator].