← Back to team overview

yade-dev team mailing list archive

Re: [Bug 666246] Re: periodic boundary don't work with ViscEl classes

 

On 26 October 2010 20:29, Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx> wrote:

>
>   You are right, of couse.
>>> But how can I get shift2 in my Law* engine?
>>>
>>>
>>  No need here.
>
> Why not? As I understand it, if in Sergei's law you want to use
> getIncidentVelocity function because you need to compute damping, then you
> need to get shift2 first.
>
>
> I can't remember if we solved this problem : can we getVelocity without
> computing it twice (once in geom::update, and once in the contact law)?
>

I think that at the moment I am computing velocities twice, which is not
ideal, you are right. I will try to follow your suggestion and it would be
faster perhaps.

Cheers. Chiara


>
>
>
>
I suggested to use shear/dt instead, but perhaps I missed something.
>
> B.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>
>

References