Question #207350 on Yade changed:
https://answers.launchpad.net/yade/+question/207350
Christian Jakob proposed the following answer:
> Did I calculate the coordination number in the right way?
No. Try this (works well, when you have no clumps):
for b in O.bodies:
c_coord_tmp = 0
for i in b.intrs():
if (i.geom.penetrationDepth > 0):
c_coord_tmp += 1
c_coord_sum += c_coord_tmp
c_balls += 1
coord_num = c_coord_sum/c_balls
--
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