From c704efaa663c97edeafdecd28e0a313e3494d93f Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 19 Mar 2002 16:31:14 +0000 Subject: Added new KEYWORD parameter 'Cactus::recovery_mode' (steerable at RECOVER). This is evaluated during recovery and can be set to - 'strict' meaning all CCTK variables must be recovered successfully, and no INITIAL timebins will be scheduled This is the default. - 'relaxed' saying: recover variables if possible, and schedule INITIAL timebins afterwards Also added a new scheduling bin CCTK_POST_RECOVER_VARIABLES at which routines can be scheduling which want to modify (recovered) initial data. This closes PR Cactus/629, Cactus/893, Cactus/921. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2653 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/param.ccl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/param.ccl') diff --git a/src/param.ccl b/src/param.ccl index a69099da..4c8659af 100644 --- a/src/param.ccl +++ b/src/param.ccl @@ -53,6 +53,13 @@ BOOLEAN allow_mixeddim_gfs "Allow use of GFs from different dimensions" { } "no" +KEYWORD recovery_mode "How to behave when recovering from a checkpoint" STEERABLE=RECOVER +{ + "strict" :: "All CCTK variables must be recovered successfully, no INITIAL timebins will be scheduled" + "relaxed" :: "Recover variables if possible, schedule INITIAL timebins afterwards" +} "strict" + + restricted: BOOLEAN terminate_next "Terminate on next iteration?" STEERABLE=ALWAYS @@ -82,4 +89,3 @@ INT cctk_itlast "Final iteration number" STEERABLE = ALWAYS { : :: "Any integer" } 10 - -- cgit v1.2.3