← Back to team overview

yade-users team mailing list archive

Re: [Question #674901]: Quantify coordination number for a specific body

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello Luis,

Finding the number of interactions a particle participates in is as
simple as:

len(O.bodies[i].intrs())

I am not sure what you mean when you ask about a sphere in a clump. If
you simply want to know how many external interactions a clump member
participates in, the line above will suffice. However, if you want to
know how the clump members are interacting with eachother - you can't -
there are no interactions between clump members of the same clump.

Cheers,

Robert

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.