From 82a5f44a3c1a51df16b922b4a6652563f4fb4198 Mon Sep 17 00:00:00 2001 From: schnetter Date: Mon, 19 Jan 2004 09:48:15 +0000 Subject: Add mechanism to select output by coordinate time. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@199 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a --- param.ccl | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index f086862..a34d94d 100644 --- a/param.ccl +++ b/param.ccl @@ -12,17 +12,30 @@ restricted: #################### STRING out_dir "Default output directory" STEERABLE = RECOVER { - .+ :: "A valid directory name" + ".+" :: "A valid directory name" } "." ######################## # How often to do output ######################## +KEYWORD out_criterion "Criterion to select output intervals" +{ + "never" :: "Never output" + "iteration" :: "Output every so many iterations" + "time" :: "Output every that much coordinate time" +} "iteration" INT out_every "How often to do output by default" STEERABLE = ALWAYS { 1:* :: "Every so many iterations" -1:0 :: "Disable output" } -1 +REAL out_dt "How often to do output by default" STEERABLE = ALWAYS +{ + (0:* :: "In intervals of that much coordinate time" + 0 :: "As often as possible" + -1 :: "Disable output" + -2 :: "Disable output" +} -2 ################ # various things -- cgit v1.2.3