@jhdark suggested that instead of writing the TXT at each timestep, we could store the data in memory and write everything at the last time step. We could have a user argument to choose the behaviour. @KulaginVladimir what do you think?