[Commits] [Einstein Toolkit] #27: Count restarts starting from 0
Einstein Toolkit
trac at einsteintoolkit.org
Wed Oct 13 12:20:26 CDT 2010
#27: Count restarts starting from 0
--------------------------+-------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: SimFactory | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by mthomas):
* status: new => closed
* resolution: => fixed
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.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/27#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Commits
mailing list