yade-users team mailing list archive
Mailing list archive
Re: [Question #683511]: meaning of ENABLE_MASK_ARBITRARY
Question #683511 on Yade changed:
Status: Open => Answered
Jan Stránský proposed the following answer:
TLTR: it is not related to your problem
Body.mask in Python or Body::groupMaks in C++ is of type int, which is
usually 64 bit number. If you need / want a higher number of bits (not
usual case), you can use std::bitset instead.
The latter is used if YADE_MASK_ARBITRARY macro is defined (done by
cmake if ENABLE_MASK_ARBITRARY=ON is passed to cmake). The size of the
mask is defined at compile time by MASK_ARBITRARY_SIZE macro.
You received this question notification because your team yade-users is
an answer contact for Yade.