← Back to team overview

yade-users team mailing list archive

Re: [Question #240275]: Avoid interaction between two particles in a four particles experiment

 

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

    Status: Open => Answered

jduriez proposed the following answer:
Hi,

Use mask =3 (=11 in binary) for your bodies 1 and 3.

In this case it still has one bit in common with other bodies 0 and 2
(where mask=1 = 01 in binary), so bodies 1 or 3 may interact with bodies
0/2. Masks do not have to be strictly equal so that bodies interact.

And, if I'm right, collider.avoidSelfInteractionMask can in fact in this
case still be equal to 2 (=10 in binary) because it has one bit in
common with 3

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.