← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2563: 1. Simplify InteractionContainer, move interactions inside bodies (NOT useful for getting all int...

 


I understand interactions have been moved "inside bodies". What prevent me from accessing
bodies[i]->interactions then? (I would do that for per-body stress queries)
Nothing, go ahead, just that you will get bogus result. Only interactions with id1==idOfYourBody are stored there (not with id2==idOfYourBody), which is about a half.




Follow ups

References