← Back to team overview

yade-dev team mailing list archive

Re: contact login yet again

 

> Just one question : does it means all interaction laws (even not 
> distant, like dry friction) have to request deletion now?

[copy of previous  reply via private mail]

Yes, they do have to request deletion; in itself, it is not 
related to distant/non-distant, since in parallelized interaction 
processing, removing interactions from container from within the loop is
not safe and might crash (it does actually if you tried (I did)). I did 
no measurements, but I am convinced that the overhead is close to zero 
(a std::list of pair of body ids, and breaking an interaction happens 
relatively "rarely", i.e. by far not at every interation).

Vaclav





Follow ups

References