← Back to team overview

yade-users team mailing list archive

Re: [Question #166066]: O.resetTime()

 

Question #166066 on Yade changed:
https://answers.launchpad.net/yade/+question/166066

    Status: Open => Answered

Anton Gladky proposed the following answer:
Hi Daniela,

I have never used O.resetTime function, and I do not know whether it
works properly in yade.
For example, you can workaround it, using another variable, which will
calculate the number of iteration after your specific event occurs.


Anton



On Tue, Jul 26, 2011 at 7:41 PM, Daniela
<question166066@xxxxxxxxxxxxxxxxxxxxx> wrote:
> New question #166066 on Yade:
> https://answers.launchpad.net/yade/+question/166066
>
> Hi,
>
> I wanted to use O.resetTime, but I am having problems.
> My model consists of a box with particles inside and I would like to have these particles in a stable situation before I really start the simulation. I used the checkUnbalanced and as it was satisfied I used the resetTime. I noticed that, when I call another function using PyRunner and write print O.iter for example, then I still have the old value.
> Does anyone have the same problem?
>
> Thanks, Daniela
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.