← Back to team overview

yade-users team mailing list archive

Re: [Question #236237]: How to get Interaction info

 

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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi Reza,

You can find similar loops in many places, then you will see that they contain this kind of test:
if(!I->isReal()) continue;

and actually, it is the way to filter out interactions you are looking for, I think.
Your code segfaults because the dead interactions that stay there have no geometry and no physics (hence no normalForce either).

Bruno

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