← Back to team overview

yade-users team mailing list archive

Re: [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

 

Question #682290 on Yade changed:
https://answers.launchpad.net/yade/+question/682290

Bruno Chareyre proposed the following answer:
Well, questions on bitmasks happen indeed, questions on
avoidSelfInteractionMask are not really frequent AFAIK.

This is my suggestion (a shorter rephrasing of the original doc):
"This mask is used to avoid the interactions inside a group of particles. If two particles have the exact same mask and that mask is compatible with Collider.avoidSelfInteractionMask then the particles do not collide."

Expanding this if needed could be easier than trying to summarize that long answer by Jérôme.
Feel free to add anything missing.

Bruno

p.s. If general considerations are needed they may fit in user manual or in the docstring of groupMask, probably.
:ref:`interaction-flow` is more or less already here (with no mention of bitmasks):
https://yade-dem.org/doc/formulation.html#creating-interaction-between-particles

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.