yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08157
Re: [Question #235443]: id1, id2
Question #235443 on Yade changed:
https://answers.launchpad.net/yade/+question/235443
jduriez posted a new comment:
Hello Lingran,
The answer should be there : pkg/common/InsertionSortCollider.cpp (give
a look to the call to function handleBoundInversion). Determination of
"id1" and "id2" bodies relies, I think, on comparison of numerical
values of "bounds" of the two bodies.
Before other answers, more precise, you should maybe give a look to
https://www.yade-dem.org/doc/yade.wrapper.html#bound and https://www
.yade-dem.org/doc/user.html#creating-interactions to figure how it
works.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.