yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08654
Re: [Question #240024]: how to get interaction attribute from interacting particles ids
Question #240024 on Yade changed:
https://answers.launchpad.net/yade/+question/240024
Status: Open => Answered
Kneib François proposed the following answer:
Hi Luc,
Yes, in the Python CLI :
O.interactions[id1,id2].phys
or
O.interactions[id1,id2].geom
Note that O.interactions[id1,id2] == O.interactions[id2,id1]
And if you want to list all the physical or geometrical values you can access, you can do :
i = O.interactions[id1,id2]
i.phys."tab-tab"
or
i.geom."tab-tab"
( "tab-tab" here is pressing the tab key two times )
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.