yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #18888
Re: [Question #678263]: determining contacts with getBodyIdsContacts() ?
Question #678263 on Yade changed:
https://answers.launchpad.net/yade/+question/678263
Status: Open => Answered
Robert Caulk proposed the following answer:
See [1]. The VIRTUAL interactions you mention are kept handy (for
efficiency purposes?), but they do not participate in the simulation.
You are right in wanting to exclude these from your coordination number
calculation. As pointed out by [1]:
len(O.bodies[i].intrs())
returns a list of REAL interactions for that particular body.
[1]https://answers.launchpad.net/yade/+question/674901
--
You received this question notification because your team yade-users is
an answer contact for Yade.