yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06595
Re: [Question #212834]: Contact number estimation
Question #212834 on Yade changed:
https://answers.launchpad.net/yade/+question/212834
Status: Open => Answered
Chiara Modenese proposed the following answer:
Hi Nait,
If you are looking for the number of interactions of a specific body
(say body with id 0), then you can type this:
O.bodies[0].intrs
If instead you want the average number of contacts you can call this
(please see the relevant documentation for more explanations on this
function):
utils.avgNumInteractions()
(see https://yade-dem.org/doc/yade.utils.html#yade.utils.avgNumInteractions)
HTH,
Chiara
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.