aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2001-12-30 14:29:33 +0000
committertradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2001-12-30 14:29:33 +0000
commit359043ea2cef2f0a42eaa0b12e2c54eef2d45675 (patch)
tree499070db9466bb9b1f6191de569de5daf28dd6a3
parent84e2701f56f2edb18e5f231ab82d2ef6b7026abe (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/IOStreamedHDF5/trunk@77 0888f3d4-9f52-45d2-93bc-d00801ff5e46
-rw-r--r--src/RecoverGH.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/RecoverGH.c b/src/RecoverGH.c
index 90a91c2..5c6f314 100644
--- a/src/RecoverGH.c
+++ b/src/RecoverGH.c
@@ -181,6 +181,14 @@ int IOStreamedHDF5_Recover (cGH *GH,
1, &myGH->timers[RECOVERY_TIMER], &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);
}