>> YourEngineName::applyCondition(Body* body)
>> {
>> Omega::instance().stopSimulationLoop();
>> }
>> You can look at the previous posts. Or the class definition of Omaga,
>> I forgot where:-)
stopSimulationLoop() may be delayed (is called from different thread) so
it will not stop with the precision of 1 iteration. If you need that,
you can set
Omega::instance().stopAtIteration=Omega::instance().getCurrentIteration()+1.
Regards, VS.
_______________________________________________
Yade-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yade-users