Question #681844 on Yade changed:
https://answers.launchpad.net/yade/+question/681844
Status: Open => Answered
Jérôme Duriez proposed the following answer:
Hi,
Considering that interactions are between clump members [*], something
like
liste = []
for id1 in clump1memb: # clump1memb is a list with the ids of the clump members
in clump #1
for id2 in clump2memb: # same for the second clump
liste.append(O.interactions[id1,id2]) # sorry I could not make a one-line
list creation (some scope issues...)
?
[*] https://yade-dem.org/doc/user.html#clumping-particles-together
--
You received this question notification because your team yade-users 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