Go to the documentation of this file.
64 <<
"Direction " <<
bits <<
" outside range 0..7"
65 <<
" or value " <<
val <<
" negative or larger than "
66 <<
label(8*
sizeof(
label)-3) <<
" bit representation"
123 return a.
data_ ==
b.data_;
135 return is >> lb.
data_;
140 return os << lb.
data_;
friend bool operator!=(const labelBits &a, const labelBits &b)
A 29bits label and 3bits direction packed into single label.
labelBits()
Construct null.
labelBits(const label val, const direction bits)
Construct from components.
friend Istream & operator>>(Istream &is, labelBits &lb)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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)....
friend bool operator==(const labelBits &a, const labelBits &b)
void setBits(const direction bits)
labelBits(Istream &is)
Construct from Istream.
static label pack(const label val, const direction bits)
errorManip< error > abort(error &err)
Direction is an integer type used to represent the Cartesian directions etc. Currently it is a typede...
void setVal(const label val)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
friend Ostream & operator<<(Ostream &os, const labelBits &lb)