Thinking about the problem in CohesiveFrictionalRelationship, why don't we simply pass body pointers to all functors (disregarding if it is supposed to work on state or materials)? It applies even for interactionGeometryFunctor. It takes material and state now, which is... a body!

It would be a lot more versatile.
Only problem : does it break the current implementation of shared materials? Would it break the functionality or the time/memory saved?

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

Reply via email to