← Back to team overview

yade-dev team mailing list archive

Re: Previous overlapping

 

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




Follow ups

References