> 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).




_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to