← Back to team overview

yade-dev team mailing list archive

[Bug 1112763] Re: interaction not detected in a VERY specific (body size = period size) case

 

Hi

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.)

Jérôme

** Attachment added: "InsertionSortCollider.cpp"
   https://bugs.launchpad.net/yade/+bug/1112763/+attachment/4099567/+files/InsertionSortCollider.cpp

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1112763

Title:
  interaction not detected in a VERY specific (body size = period size)
  case

Status in Yet Another Dynamic Engine:
  Confirmed

Bug description:
  Details and script here, thanks Julia:
  https://answers.launchpad.net/yade/+question/220785

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1112763/+subscriptions


References