← Back to team overview

yade-users team mailing list archive

Re: What code to type to stop simulations ?

 

Yes that was what I began to try to understand. If you confirm me that it does what I want, thank you !

Chen, Feng a écrit :
Hi, I think this is somthing like:
YourEngineName::applyCondition(Body* body)
{
  Omega::instance().stopSimulationLoop();
}
You can look at the previous posts. Or the class definition of Omaga, I forgot where:-) ------------------------------------------------------------------------
*From:* yade-users-bounces@xxxxxxxxxxxxxxxx on behalf of Jerome Duriez
*Sent:* Wed 5/7/2008 7:11 AM
*To:* Yade users
*Subject:* [Yade-users] What code to type to stop simulations ?

Hello. I wonder if it is possible to stop a simulation from an Engine. What should I type in my Engines if I want that the calculations stop running at a moment well defined ?
Thank you.

Jerome
------------------------------------------------------------------------

_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users

Follow ups

References