← Back to team overview

yade-users team mailing list archive

Re: [Question #689186]: How to stop the current calculation and jump to the next one in the batch mode on the condition that the current calculation takes too much time?

 

Question #689186 on Yade changed:
https://answers.launchpad.net/yade/+question/689186

Bruno Chareyre proposed the following answer:
Hi,
There is nothing batch-specific in the question.
It is up to you to run iterations or not, based on a condition.
Either "while condition: O.run(N,True)" or "if !condition: O.pause()".
If you don't run iterations the simulation stops, and if batch it will move to next one.
Bruno

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.