← Back to team overview

yade-users team mailing list archive

Re: [Question #247174]: How to exclude sphere-facet interaction data

 

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

Hien Nguyen proposed the following answer:
Jerome's answer is more general and totally right.

Alternatively, for fast coding, if you know exactly the Id of the facet
you can do like this, for example id of the facet is 0,1,2:

for i in O.interactions:
  if i.id1<3 or i.id2<3: continue
  your-record-function()

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