aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-12-30 14:29:25 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-12-30 14:29:25 +0000
commit2731a8b71624c46a85373ccded57717ae8523982 (patch)
tree8793203cefbc4cf85f1fb5ac17ca0a268e6ce6a9 /src
parent0bf07e5412fcdba5042e3cf4ab7dc1dcbdb82a8b (diff)
After successful recovery, print an info message telling the current iteration
and time. Closes PR CactusBasse-876. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@224 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src')
-rw-r--r--src/RecoverGH.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/RecoverGH.c b/src/RecoverGH.c
index 2248d40..5a1932e 100644
--- a/src/RecoverGH.c
+++ b/src/RecoverGH.c
@@ -217,6 +217,14 @@ int IOFlexIO_Recover (cGH *GH, const char *basefilename, int called_from)
&myGH->timers[3], &timer_description);
}
+ /* print an info message */
+ if (called_from == CP_RECOVER_DATA)
+ {
+ CCTK_VInfo (CCTK_THORNSTRING,
+ "Restarting simulation at iteration %d (physical time %g)",
+ GH->cctk_iteration, (double) GH->cctk_time);
+ }
+
return (result);
}