diff options
-rw-r--r-- | param.ccl | 6 | ||||
-rw-r--r-- | schedule.ccl | 2 |
2 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -# Parameter definitions for thorn IOUtil +# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# @@ -154,7 +154,9 @@ STRING filereader_ID_files "List of files to read in as initial data" STEERABLE } "" STRING filereader_ID_vars "List of variables to read in from the given initial data files" STEERABLE = RECOVER { - ".+" :: "Space-separated list of fully qualified variable/group names" + "all" :: "Read all variables contained in the initial data files" + ".+" :: "Space-separated list of fully qualified variable/group names" + "^$" :: "An empty string for not recovering initial data" } "all" BOOLEAN recover_and_remove "Remove checkpoint file after successful recovery ?" STEERABLE = RECOVER { diff --git a/schedule.ccl b/schedule.ccl index 9c4e95b..2093c25 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -14,7 +14,7 @@ if (! CCTK_Equals (recover, "no")) } "Checkpoint recovery routine" } -if (*filereader_ID_files) +if (*filereader_ID_files && *filereader_ID_vars) { schedule IOUtil_RecoverIDFromDatafiles at CCTK_RECOVER_VARIABLES after IOUtil_RecoverGH { |