← Back to team overview

yade-users team mailing list archive

Re: Stop simulation for specific reasons


In core/Omega.hpp you can see that there are some definitions of fonctions Omega::stopSimulationLoop(); or Omega::finishSimulationLoop(); You can get some details about it on http://thread.gmane.org/gmane.science.physics.yade.user/978/focus=979 So, you can surely use them in Python also, but I do not know the exact syntax...

Anton Gladky a écrit :
Can I stop the simulation for specific reasons, using Python?
Is there the command like "o.stop" or something like that?

Thank you.
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy

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