← Back to team overview

yade-dev team mailing list archive

Body::groupMask could be unsigned int

 

Hello,

currently I am running out of size of groupMask (I would need more bits),
so I am planning to introduce optional compilation with some larger type.
Anyway, even the size is the same, working with the full range of unsigned
int bitmask is much more natural than standard signed int.

Would anybody be against changing the type to unsigned int with default
value UINT_MAX = 0b11111..., i.e. the body would interact with anything by
default?

Thanks for the feedback
Jan

Follow ups