Question #669986 on Yade changed:
https://answers.launchpad.net/yade/+question/669986
Status: Open => Answered
Jan Stránský proposed the following answer:
Thanks for clarification :-)
interaction can be created either manually by createInteraction, executing:
py/_utils.cpp : createInteraction [1,2]
pkg/dem/Shop_02.cpp : Shop::createExplicitInteraction [3,4]
pkg/common/Dispatching.cpp : IGeomDispatcher::explicitAction [5,6]
or automatically by collider:
pkg/common/InsertionSortCollider.cpp : action() [7] (called from O.engines
while running. Search for "new Interaction" in the same file for more info)
Contact point is computed inside Ig2::go (called again from O.engines), e.g.
Ig2_Sphere_Sphere_ScGeom [8,9]:
/pkg/dem/Ig2_Sphere_Sphere_ScGeom.cpp : Ig2_Sphere_Sphere_ScGeom::go
cheers
Jan
[1] https://github.com/yade/trunk/blob/master/py/_utils.cpp#L482
[2] https://github.com/yade/trunk/blob/master/py/_utils.cpp#L317
[3] https://github.com/yade/trunk/blob/master/pkg/dem/Shop_02.cpp#L103
[4] https://github.com/yade/trunk/blob/master/pkg/dem/Shop_02.cpp#L120
[5] https://github.com/yade/trunk/blob/master/pkg/common/Dispatching.cpp#L70
[6] https://github.com/yade/trunk/blob/master/pkg/common/Dispatching.cpp#L80
[7]
https://github.com/yade/trunk/blob/master/pkg/common/InsertionSortCollider.cpp#L182
[8]
https://github.com/yade/trunk/blob/master/pkg/dem/Ig2_Sphere_Sphere_ScGeom.cpp#L13
[9]
https://github.com/yade/trunk/blob/master/pkg/dem/Ig2_Sphere_Sphere_ScGeom.cpp#L38
--
You received this question notification because your team yade-users 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