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

Anton Gladky proposed the following answer:
2012/5/18 Chareyre <[email protected]>:
> Question #197438 on Yade changed:
> https://answers.launchpad.net/yade/+question/197438
>
> Chareyre posted a new comment:
> If interactions->dirty, then the collider runs at next iteration (including 
> bounds dispatching).
> Then the new bound will be defined immediatly (I guess it was defined only 
> after N iterations before the fix).
> Do you confirm Anton?


Yes. There are several conditions. when the collider should be rerun [1].
With this commit I force rerunning the function, if even the number of
bodies will not
change (for example, when the body was previously deleted and newly created).

https://github.com/yade/trunk/blob/master/pkg/common/InsertionSortCollider.cpp#L83

Anton

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to