pkg/dem/Shop.cpp should probably be the right place.
As an example, you can have a look, how "Shop::getSpheresMass" [1] and [2]
was implemented, it can be also useful to keep "mask" parameter for more
flexibility.
Do not forget to add a python-wrapper for this function into
py/_utils.cpp [3] and [4].
Hi,
pkg/dem/Shop.cpp should probably be the right place. getSpheresMass" [1] and [2]
As an example, you can have a look, how "Shop::
was implemented, it can be also useful to keep "mask" parameter for more
flexibility.
Do not forget to add a python-wrapper for this function into
py/_utils.cpp [3] and [4].
Have a luck!
Anton
[1] https:/ /github. com/yade/ trunk/blob/ master/ pkg/dem/ Shop.hpp# L59 /github. com/yade/ trunk/blob/ master/ pkg/dem/ Shop.cpp# L295 /github. com/yade/ trunk/blob/ master/ py/_utils. cpp#L404 /github. com/yade/ trunk/blob/ master/ py/_utils. cpp#L456
[2] https:/
[3] https:/
[4] https:/