Fixed bug: prevent overwriting
Bug
The simulation stop criteria can be overwritten if it is accessed multiple times.
Solution
Prevent the simulation stop condition from overwriting.
Bug
The simulation stop criteria can be overwritten if it is accessed multiple times.
Solution
Prevent the simulation stop condition from overwriting.