43 #define INT_ADD_SIZE(x,s,y) x ## s ## y
44 #define INT_ADD_DEF_SIZE(x,s,y) INT_ADD_SIZE(x,s,y)
45 #define INT_SIZE(x,y) INT_ADD_DEF_SIZE(x,WM_LABEL_SIZE,y)
47 #if WM_LABEL_SIZE != 32 && WM_LABEL_SIZE != 64
48 #error "label.H: WM_LABEL_SIZE must be set to either 32 or 64"
82 while (i >>= 1) log2i++;
116 #undef INT_ADD_DEF_SIZE
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
label log2(label i)
Return the log base 2 by successive bit-shifting of the given label.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label & setComponent(label &l, const direction)
void cmptMax(Field< typename Field< Type >::cmptType > &res, const UList< Type > &f)
void component(GeometricField< typename GeometricField< Type, GeoMesh, PrimitiveField1 >::cmptType, GeoMesh, PrimitiveField1 > &gcf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf, const direction d)
void cmptMin(Field< typename Field< Type >::cmptType > &res, const UList< Type > &f)
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
label readLabel(Istream &is)
label factorial(label n)
Return n! : 0 < n <= 12.
static const label labelMax
static const label labelMin