Question #683511 on Yade changed: https://answers.launchpad.net/yade/+question/683511
Status: Open => Answered Jan Stránský proposed the following answer: Hi Luc, 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. cheers Jan [1] https://gitlab.com/yade-dev/trunk/blob/master/core/Body.hpp#L84 [2] https://gitlab.com/yade-dev/trunk/blob/master/lib/base/Math.hpp#L274 [3] https://gitlab.com/yade-dev/trunk/blob/master/lib/base/Math.hpp#L260 -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp