← Back to team overview

yade-users team mailing list archive

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

 

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 know that I can switch them when calling a specific existing contact, but it seems that the default values recorded in .phys do not change according to whether calling O.interactions[id1,id2] or O.interactions[id2,id1].

Any clues?

 

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.