yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #20068
Re: [Question #681844]: Track the contact between two clumps
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.