aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorschnetter <schnetter@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2004-01-19 09:48:15 +0000
committerschnetter <schnetter@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2004-01-19 09:48:15 +0000
commit9f571db8c35923dff20723cd7ada7ff85ea6f317 (patch)
treeeaa0ebcdf79086399ae129e2b179b9827c27229b /param.ccl
parentfb75f270b21126d954d5da1119a038b881ba537d (diff)
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
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl29
1 files changed, 29 insertions, 0 deletions
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