← Back to team overview

yade-users team mailing list archive

Re: [Question #681844]: Track the contact between two clumps


Question #681844 on Yade changed:

    Status: Open => Answered

Jérôme Duriez proposed the following answer:

Considering that interactions are between clump members [*], something

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.