yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #04568
Re: updating shearForce in ElasticContactLaw
On 25 May 2010 10:57, chiara modenese <c.modenese@xxxxxxxxx> wrote:
> Hi,
>
> where is that you update the current value of shearForce in the physics
> functor once it is at its real value in ElasticContactLaw.cpp? You make a
> copy of it in shearForce variable (line 66) but then you never pass it to
> the physics functor so that at the next iteration it is not updated, right?
>
> cheers, Chiara
>
I see the same in ViscoelasticPM.cpp
So what is the point to save shearForce as
Vector3r& shearForce = phys.shearForce;
then working with shearForce (rotating, updating etc) and then not storing
at the end its value in phys?
Chiara
Follow ups
References