← Back to team overview

yade-dev team mailing list archive

[yade-dev] How to access neighboring grains

 

Hi all,

Is there a way to access all the neighbors (in contact I mean) to a given
grain? I saw the "isNeighbor" variable but I cannot find out how to use it
when looping on interactions or bodies.

Thanks for helping

  luc

Follow ups