← Back to team overview

yade-users team mailing list archive

Re: What code to type to stop simulations ?

 

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

Follow ups

References