yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06598
Re: [Question #212834]: Contact number estimation
Question #212834 on Yade changed:
https://answers.launchpad.net/yade/+question/212834
Chiara Modenese proposed the following answer:
Hi Nait,
Here is a simple example.
ii=O.bodies[id].intrs() # list of interactions with body id
len(ii) # number of interactions to which body id participates
I hope this is clear now.
Best,
Chiara
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.