Count restarts starting from 0

Create issue
Issue #27 closed
Erik Schnetter created an issue

Restarts should be counted starting from 0, not starting from 1

Keyword:

Comments (2)

  1. anonymous
    • changed status to resolved
    • removed comment

    this is done. The change was in restartlib.py, the function GetMaxRestartId, which previously returned 0 if the len of the discovered restart id's for a given simulation was 0. Now, it returns -1. The function GetRestartId inside simrestart.py then increments that value by 1 to determine the restart id.

  2. Log in to comment