Skip to content

Implement save_state_n #64

@sigvaldm

Description

@sigvaldm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    convenienceRequest that adds to convenience but not functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions