yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02814
Re: periodic cell
> p.s. How can we do something like this? For now, it (apparently) runs in
> the background so that the second definition of velGrad is used for
> almost 2000 steps :
>
> O.cell.velGrad=Matrix3(0,5,0,0,0,0, 0,0,-5)
> O.run(1000)
> O.cell.velGrad=Matrix3(1,0,0,0,0,0, 0,0,0)
> O.run(1000)
O.run(1000); O.wait()
or equivalently
O.run(1000,True)
otherwise the O.run() returns immediately and the velGrad is changed
just after a few steps.
Follow ups
References