yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06269
Re: [Question #203616]: Clumping a packing
Question #203616 on Yade changed:
https://answers.launchpad.net/yade/+question/203616
Status: Open => Answered
Christian Jakob proposed the following answer:
Dear anna,
you have to create a bodylist, where all bodies are listed, that should
be clumped.
bodylist=[]
for b in O.bodies:
#... your part
bodylist.append(id)
then you can simply clump them with
O.bodies.clump(bodylist[:])
Regards,
Christian
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.