← Back to team overview

yade-dev team mailing list archive

[Bug 669095] Re: error: Body's boundary metting its opposite boundary

 

Ok, I run in the same problem with updated regular-sphere-pack.py where
there is facet perpendicular to z, where for some reason the maximum is
reported to be smaller than the minimum, even though the numbers are the
same (to the machine precision). The problem is apparently in the
operator< and operator> defined on bounds, which handles same-id
situation specially -- with equal coordinates and ids, the minimum is
always smaller. I don't know how it can happen that the minimum is above
the maximum (hence triggering the inversion). The next commit will
contain the fix, which esentially avoids calling handleBoundInversion if
the ids are identical.

-- 
error: Body's boundary metting its opposite boundary
https://bugs.launchpad.net/bugs/669095
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Confirmed

Bug description:
When I try to add polydisp spheres into periodic domain I get a error:

FATAL /home/sega/work/yade/trunk/pkg/common/InsertionSortCollider.cpp:343 insertionSortPeri: Inversion of body's #29 boundary with its other boundary, 0.5 meets 0.375
FATAL /home/sega/work/yade/trunk/core/ThreadRunner.cpp:31 run: Exception occured: 
/home/sega/work/yade/trunk/pkg/common/InsertionSortCollider.cpp: Body's boundary metting its opposite boundary.

With monodisp spheres no error occurs.

I attach a test script.





References