summaryrefslogtreecommitdiff
path: root/src/param.ccl
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-03-19 16:31:14 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-03-19 16:31:14 +0000
commitc704efaa663c97edeafdecd28e0a313e3494d93f (patch)
treeef6ca0042f10486c5b45e6411f06fc46dd4ec8cc /src/param.ccl
parent15e00eab68a080c9039a965b1dfe74ca664f334a (diff)
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
Diffstat (limited to 'src/param.ccl')
-rw-r--r--src/param.ccl8
1 files changed, 7 insertions, 1 deletions
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
-