Use a unique criterion to dump files
This allows you to have:
-
nOutput
as a time steps frequency parameter, -
dt_io
as a simulation time frequency parameter.
If you have nOutput<=0
and dt_io<=0
you have no outputs at all.
The first and last output are always saved (unless if you restart).
Be careful if you use both, they end up in the same time serie (they share the prefix and numbering of outputs).
Edited by thomas.padioleau