yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03544
Re: hello? -help with a spinning bucket!
> If you want to launch only one iteration, O.run(1) is better, O.iter
> will give you only the number of current iteration, in python :
> https://www.yade-dem.org/sphinx/yade.wrapper.html#yade.wrapper.Omega.iter
Watch out, though, O.run(1) might return _before_ the iteration finishes
(it launches thecomputation in background)! O.step() will wait. Or use
O.run(1,True).
Follow ups
References