The simulator object will probably have created a time map anyway to control the timestepping so this can be reused directly by the output writer. (If not, it is easy to create one and pass it).
The simulator object will probably have created a time map anyway to control the timestepping so this can be reused directly by the output writer. (If not, it is easy to create one and pass it).