On 09/05/15 20:59, Janek Kozicki wrote: > > But of course I want to make sure that it works for you also. So what > do you think, is it better Functor1D or Functor2D? I can't imagine a situation where 2D is needed. It would need a body with two materials, which we never had before. Your 1D suggestion sounds right.
> BTW: Moving calculation of mass & inertia into such class would > remove a lot of redundant code in yade :) Mass and inertia need Shape, not only Material+State. How would it be done in this new functor? Cheers. Bruno _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

