yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #13570
Re: [Question #231633]: Problem with stress mask value
Question #231633 on Yade changed:
https://answers.launchpad.net/yade/+question/231633
Klaus Thoeni posted a new comment:
Not sure if there is a good example. Long story short it is a bit wise
comparison. Here a short example assuming three bodies:
O.bodies[0].mask=1 # 00000001 -> corresponds to 1 in the binary system
O.bodies[1].mask=2 # 00000010 -> corresponds to 2 in the binary system
O.bodies[2].mask=3 # 00000011 -> corresponds to 3 in the binary system
In this example, O.bodies[0] and O.bodies[1] would not interact whereas
O.bodies[2] would interact with both.
HTH
Klaus
--
You received this question notification because your team yade-users is
an answer contact for Yade.