It was previously started to implement something to save the state every n'th time step. I think this would be useful. A way to do this could be to save it as, for instance, population<n>.dat and state<n>.dat, but to always make a symlink from the latest to population.dat and state.dat which PUNC++ can restart from. Starting PUNC again would lead to automatic continuation of the latest.
It would also be convenient to add something that save the states every n'th hour (but with the time-step in the file name). One could use two suffixes for this, steps and h, similarly to the proposed stop parameter.
It was previously started to implement something to save the state every n'th time step. I think this would be useful. A way to do this could be to save it as, for instance,
population<n>.datandstate<n>.dat, but to always make a symlink from the latest topopulation.datandstate.datwhich PUNC++ can restart from. Starting PUNC again would lead to automatic continuation of the latest.It would also be convenient to add something that save the states every n'th hour (but with the time-step in the file name). One could use two suffixes for this,
stepsandh, similarly to the proposedstopparameter.