Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我在想可不可以在simple.loop()的循环里面加break,使得计算正常跳出循环,让OF不再计算,这样做的目的是为了我即使给了一个很大的endTime,但是不需要算那么久,某一个数值稳定了就可以不算了,就像这样:
simple.loop(): { if(某个量稳定): { runtime.write(); break; } }
可以看看 functionObjects 里面的 runTimeControl 部分,在这个基础上添加一个你需要的结束条件。
@xpqiu 感谢,我去查一下!不过目前我用break也能顺利终止程序,并行和串行都可以