On 14/07/10 20:19, chiara modenese wrote:

I'd prefer to avoid adding more and more data in this class. Adding functions is not a problem. You could add previous penetration to MindlinPhys, it would make more sense since only this sort of interactions need the value. Deriving a new Ig from ScGeom is maybe better in terms of design, it seems a bit overkill to me though.
Bruno
Ok, no problem, I need it for energy computation. I was asking because I thought it could have been similar to previousNormal, but in fact that is needed to all the laws.
What about simply using currentUn-incidentVelocity.dot(normal)*dt by the way?
I removed previousNormal. :-)

Btw, in ScGeom are you getting rid completely of rotateAndGetShear function? Or would you think to keep it somehow?

Its removed as well. I adapted your law with the new rotate(Vector3r) function.

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