← Back to team overview

yade-users team mailing list archive

Re: [Question #212834]: Contact number estimation

 

Question #212834 on Yade changed:
https://answers.launchpad.net/yade/+question/212834

    Status: Answered => Open

Nait is still having a problem:
To Chiara,

Thanks for your answer, actually I am looking for the number of interaction of a specific body.
But as I type in

O.bodies[id_of_body].intrs

YADE would return something like

<bound method Body.intrs of <Body instance at 0xb41b968>>

And as mentioned in the YADE document,
"intrs() → list
Return all interactions in which this body participates."

I still don't understand how to obtain the number of contact of the
specific body. Can you explain more?

Thanks.

Nait

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.