← Back to team overview

yade-users team mailing list archive

Re: [Question #662183]: when/how use O.run()

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
If you use wait=False in [***1], Yade will execute the unbalance force
check and loop back to O.run(1000, False), but if the previous
O.run(1000,False) is still running, it will ignore the new one, continue
on and check the unbalanced force again. This will continue until the
original O.run(1000,False) finishes, at that point the next
O.run(1000,False) to be executed will not be ignored, instead, it will
be executed and the loop will continue.

Yade's behavior should not change if you use wait=False vs True at the
end of your simulation. There are no commands left to execute in your
script :-).

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.