Run until a certain condiiton

Submitted by Zheng Hu on Tue, 10/10/2017 - 06:07

Dear all,

I want to ask a question about the times of RUN command. In most cases, we set the determined timesteps for RUN command, e.g. run 400000. Would it be possible that we set a condition until which the code will stop (e.g. run until c_force > 1000)? Could someone give me some clues about how to code this? Many thanks.

Regrads,
Zheng