From 359043ea2cef2f0a42eaa0b12e2c54eef2d45675 Mon Sep 17 00:00:00 2001 From: tradke Date: Sun, 30 Dec 2001 14:29:33 +0000 Subject: 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 --- src/RecoverGH.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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); } -- cgit v1.2.3