Question #233241 on Yade changed:
https://answers.launchpad.net/yade/+question/233241
liucheng83 gave more information on the question:
----------
for i in range(103,len(O.bodies)):
if O.bodies[i].state.vel.norm()<0.1 :
if len(O.interactions.withBody(i))>=3:
num_in_contact[0]=num_in_contact[0]+1
num_contact[0]=num_contact[0]+len(O.interactions.withBody(i))
num_coordination[0]=1.0*num_contact[0]/num_in_contact[0]
----------
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp