← Back to team overview

yade-users team mailing list archive

Re: [Question #247852]: O.interactions

 

Question #247852 on Yade changed:
https://answers.launchpad.net/yade/+question/247852

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hello,

No, interactions are not sorted in O.interactions according to bodies. You may check it with a simple test:
for i in O.interactions:
     print i.id1, "-", i.id2
You may consider that there is no specific pattern.

The best for your problem is surely to regenerate your file, excluding
directly Facet bodies. It is easy to do, testing bodies' shape, and
using isinstance() python function.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.