From 9f571db8c35923dff20723cd7ada7ff85ea6f317 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/IOBasic/trunk@147 b589c3ab-70e8-4b4d-a09f-cba2dd200880 --- param.ccl | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index 28fca78..477dc6e 100644 --- a/param.ccl +++ b/param.ccl @@ -47,18 +47,45 @@ STRING outScalar_reductions "List of reductions to output into files" STEERABLE ######################## # How often to do output ######################## +KEYWORD outInfo_criterion "Criterion to select Info output intervals" +{ + "never" :: "Never output" + "iteration" :: "Output every so many iterations" + "time" :: "Output every that much coordinate time" +} "iteration" INT outInfo_every "How often to do Info output" STEERABLE = ALWAYS { 1:* :: "Every so many iterations" 0: :: "Disable Info output" -1: :: "Default to IO::out_every" } -1 +REAL outInfo_dt "How often to do Info output" STEERABLE = ALWAYS +{ + (0:* :: "In intervals of that much coordinate time" + 0 :: "As often as possible" + -1 :: "Disable output" + -2 :: "Default to IO::out_dt" +} -2 + +KEYWORD outScalar_criterion "Criterion to select Scalar output intervals" +{ + "never" :: "Never output" + "iteration" :: "Output every so many iterations" + "time" :: "Output every that much coordinate time" +} "iteration" INT outScalar_every "How often to do Scalar output" STEERABLE = ALWAYS { 1:* :: "Every so many iterations" 0: :: "Disable Scalar output" -1: :: "Default to IO::out_every" } -1 +REAL outScalar_dt "How often to do Scalar output" STEERABLE = ALWAYS +{ + (0:* :: "In intervals of that much coordinate time" + 0 :: "As often as possible" + -1 :: "Disable output" + -2 :: "Default to IO::out_dt" +} -2 ##################### @@ -82,7 +109,9 @@ STRING out_format "Which format for Scalar floating-point number output" STEERAB shares: IO USES STRING out_dir AS io_out_dir +USES KEYWORD out_criterion USES INT out_every +USES REAL out_dt USES KEYWORD verbose USES BOOLEAN new_filename_scheme -- cgit v1.2.3