I'm attaching a new version of InsertionSortCollider that could solve this bug.
At least, it solves https://answers.launchpad.net/yade/+question/246392 (I have now 9 sphere-box interactions in any case !!!). I think that the problem was caused by the "wrap" of bound extents inside cells. I disabled this wrapping for big bodies, in case "allowBiggerThanPeriod"
Since it is a quite central piece of code, and because I did not get 100% of InsertionSortCollider, I do not commit it directly, to avoid stress to anyone. But, as I said, it solves my problem, so it might be useful.
(In the end, the detail of extent-threshold is still to be discussed, I used 0.99, as in l.500, but l.534 speaks about a "half" of the period.)
Hi
I'm attaching a new version of InsertionSortCo llider that could solve this bug.
At least, it solves https:/ /answers. launchpad. net/yade/ +question/ 246392 (I have now 9 sphere-box interactions in any case !!!). I think that the problem was caused by the "wrap" of bound extents inside cells. I disabled this wrapping for big bodies, in case "allowBiggerTha nPeriod"
Since it is a quite central piece of code, and because I did not get 100% of InsertionSortCo llider, I do not commit it directly, to avoid stress to anyone. But, as I said, it solves my problem, so it might be useful.
(In the end, the detail of extent-threshold is still to be discussed, I used 0.99, as in l.500, but l.534 speaks about a "half" of the period.)
Jérôme