Discussion:
[deprecated list] Stop simulation for specific reasons
Anton Gladky
2009-07-30 08:40:09 UTC
Permalink
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
Václav Šmilauer
2009-07-30 08:49:17 UTC
Permalink
Post by Anton Gladky
Can I stop the simulation for specific reasons, using Python?
Is there the command like "o.stop" or something like that?
O.pause()



_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users-oU9gvf+***@public.gmane.org
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp
Václav Šmilauer
2009-07-30 08:51:24 UTC
Permalink
Post by Václav Šmilauer
O.pause()
FWIV
http://beta.arcig.cz/~eudoxos/yade/epydoc/yade.wrapper.Omega-class.html

I should write documentation for those functions. I haven't done it
before as I was the only person using it ;-)



_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users-oU9gvf+***@public.gmane.org
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp
Anton Gladky
2009-07-30 08:55:07 UTC
Permalink
Thank you!
Post by Václav Šmilauer
O.pause()
FWIV
http://beta.arcig.cz/~eudoxos/yade/epydoc/yade.wrapper.Omega-class.html<http://beta.arcig.cz/%7Eeudoxos/yade/epydoc/yade.wrapper.Omega-class.html>
I should write documentation for those functions. I haven't done it
before as I was the only person using it ;-)
That is very convenient! No necessity to recompile the code all the time.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
More help : https://help.launchpad.net/ListHelp
Jerome Duriez
2009-07-30 08:55:35 UTC
Permalink
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...
Post by Anton Gladky
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
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : yade-***@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp

Loading...