← Back to team overview

yade-dev team mailing list archive

Re: shared_ptr<PhysicalAction>

 

> IIRC, I stored rigidities that way because it was the "correct" way to
> store variables obtained from interactions but defined for each body.
> There are other ways too, like adding a stiffness vector in the
> TimeStepper.
> Note that forces could be stored in a special container in
> NewtonLeapFrog as well. :-P
> Seriously, it is no big problem to move it elsewhere.
I know, rigidities are needed just until you calculate timestep, which
can be done even in the same function or class. No big deal now. Regards, V.





References