yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08653
[Question #240024]: how to get interaction attribute from interacting particles ids
New question #240024 on Yade:
https://answers.launchpad.net/yade/+question/240024
Hi all,
Just wondering if there is a "simple" way to access interaction attribute (like intr->phys->tangensOfFrictionAngle) when the pair of interacting particles (id1 and id2) is known.
For now, I am looping over all interactions and I apply a test on intr->ids to get the information I need but it is a little bit like looking for a needle in a haystack...
Also, I am currently doing it in the source code (C++) but maybe this would be easier using python...
Thanks for you help
Luc
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.