To reduce memory usage, write the intermediate timesteps to file right away. This is relevant since the parallel version...