> > PS I think the way both Dem3DofGeom and ScGeom currently work is not > > prospective. ScGeom is dumb and only stores a few numbers inside, making > > Law doing all the computation; > Don't you refer to a months-old version of ScGeom? ScGeom has members! If you mean updateShearForce... > > As we already discussed, it would be much more efficient to precompute > > normal and shear displacements in the Ig2 functor and store it in the > > *Geom class. Only writing back to *Geom from Law2 (such as upon a > > plastic slip) would need a few virtual methods, which could be > > interface-wise identical for incremental and total formulations BTW. > Ok for precomputing un and us, but is there a general reason to put more > members in a geometry class? > With ScGeom, there is no plastic slip to update in the geometry, I'm not > sure we need any virtual function in incremental formulation. That was if you wanted to have the same interface for both... Not my business, anyway.
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

