39 #ifndef Foam_primitives_uLabel_H 40 #define Foam_primitives_uLabel_H 47 #define UINT_ADD_SIZE(x,s,y) x ## s ## y 48 #define UINT_ADD_DEF_SIZE(x,s,y) UINT_ADD_SIZE(x,s,y) 49 #define UINT_SIZE(x,y) UINT_ADD_DEF_SIZE(x,WM_LABEL_SIZE,y) 80 inline uLabel
readULabel(
const std::string& str)
88 inline bool readULabel(
const char* buf, uLabel& val)
97 inline bool readULabel(
const std::string& str, uLabel& val)
106 uLabel
pow(uLabel a, uLabel
b);
132 #undef UINT_ADD_DEF_SIZE
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
constexpr uLabel uLabelMax
Typedefs for label/uLabel without requiring label.H.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
label factorial(label n)
Evaluate n! : 0 < n <= 12.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
uLabel readULabel(Istream &is)
Read uLabel from stream.
unsigned int readUint(Istream &is)
Read unsigned int from stream.
label & setComponent(label &val, const direction) noexcept
Non-const access to integer-type (has no components)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)