This is just a proposition, you don't have to merge it if you don't agree. When we discussed it you said that it would slow down the code to do it this way.
I have implemented and in a small test on my laptop I saw no significant slow down.
Let me know what you think.
Personally I like this implementation, and I think it also saves time because you only simulate up to the point you need. By giving a total time you might be simulating for too long, in which case the simulation takes longer than needed, or too little, in which case you only discover after the simulation that you had actually given a wrong time.
This is just a proposition, you don't have to merge it if you don't agree. When we discussed it you said that it would slow down the code to do it this way. I have implemented and in a small test on my laptop I saw no significant slow down. Let me know what you think.
Personally I like this implementation, and I think it also saves time because you only simulate up to the point you need. By giving a total time you might be simulating for too long, in which case the simulation takes longer than needed, or too little, in which case you only discover after the simulation that you had actually given a wrong time.