Re: [Yade-users] [Question #402893]: Ids order in O.interactions

2016-10-10 Thread Bruno Chareyre
Question #402893 on Yade changed: https://answers.launchpad.net/yade/+question/402893 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi Nejib, there is no convention. The fact that O.interactions[x,y] is the same as O.interactions[y,x] is a desirable feature, isn't

[Yade-users] [Question #402893]: Ids order in O.interactions

2016-10-10 Thread Hadda
New question #402893 on Yade: https://answers.launchpad.net/yade/+question/402893 Hi, Is there any physical meaning/convention behind the order at which pairwise particles ids are appended to O.interactions? I am interested in the default ones: for i in O.interactions: print i.id1, i.id2 I