-
Notifications
You must be signed in to change notification settings - Fork 40
Description
It would be useful if KaSim had the option of a "continue" mode that could be launched with a snapshot and the inputs file (optionally the traces file).
Here's the scenario: I simulate for a large amount of time, but then have to stop (because of power outage, or because I'm changing from laptop to server, or even I ran out of interactive ideas). I can dump the mixture to a snapshot, and I have input.ka with the seed and ruleset. Then, I could tell KaSim to simulate input.ka, starting from the snapshot, fast-forwarding the time to the snapshot's time (recorded in input.ka), with the same seed (also recorded in input.ka), and just append to the output file (also recorded in input.ka). That way I would have a single data.csv, with plot points in compatible times.
The key features would be:
-Append (rather than overwrite) the trajectories file
-Ignore %inits: in inputs.ka and use the snapshot instead
-Fast-forward time to the snapshot's time