yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #24857
Re: [Question #695164]: Interparticle spacing
Question #695164 on Yade changed:
https://answers.launchpad.net/yade/+question/695164
Status: Open => Answered
Jérôme Duriez proposed the following answer:
Maybe your interactions in O.interactions are not real. Non-real
interactions are accounted for if you ask for len(O.interactions), but
they are skipped in the for i in O.interactions: loop
Also note that for any Vector3 "vec" in yade terminal, like
O.bodies[id1].state.pos - O.bodies[id2].state.pos, you have directly
access to a .norm() function: vec.norm()
--
You received this question notification because your team yade-users is
an answer contact for Yade.