aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl126
1 files changed, 126 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
new file mode 100644
index 0000000..aaf27db
--- /dev/null
+++ b/param.ccl
@@ -0,0 +1,126 @@
+# Parameter definitions for thorn IOASCII
+# $Header$
+
+
+#############################################################################
+### declare IOASCII parameters
+#############################################################################
+private:
+
+##########################
+# Directories to output to (overriden by outdir)
+##########################
+STRING outdir1D "Name of 1D ASCII output directory, overrides outdir"
+{
+ .* :: A regex which matces everything
+} "."
+
+STRING outdir2D "Name of 2D ASCII output directory, overrides outdir"
+{
+ .* :: A regex which matces everything
+} "."
+
+
+##########################
+# What variables to output
+##########################
+STRING out1D_vars "Variables to output in 1D ASCII file format" STEERABLE = ALWAYS
+{
+ .* :: A regex which matces everything
+} ""
+
+STRING out2D_vars "Variables to output in 2D ASCII file format" STEERABLE = ALWAYS
+{
+ .* :: A regex which matces everything
+} ""
+
+
+########################
+# How often to do output
+########################
+INT out1D_every "How often to do 1D ASCII output, overrides out_every" STEERABLE = ALWAYS
+{
+ -1:* :: "Values <= 0 disable 1D output"
+} -1
+
+INT out2D_every "How often to do 2D ASCII output, overrides out_every" STEERABLE = ALWAYS
+{
+ -1:* :: "Values <= 0 disable 2D output"
+} -1
+
+
+#################
+# output style
+#################
+KEYWORD out_style "Which style for 1D ASCII output"
+{
+ "gnuplot" :: "output readable by gnuplot"
+ "xgraph" :: "output readable by xgraph"
+} "xgraph"
+
+KEYWORD out_format "Which format for ASCII output" STEERABLE = ALWAYS
+{
+ "e" :: "output in exponential notation"
+ "f" :: "output in floating point notation"
+} "f"
+
+#######################
+# Specific to 1D output
+# Choosing what output to do
+#######################
+BOOLEAN out1D_x "Do 1D IOASCII output in the x-direction" STEERABLE = ALWAYS
+{
+} "yes"
+BOOLEAN out1D_y "Do 1D IOASCII output in the y-direction" STEERABLE = ALWAYS
+{
+} "yes"
+BOOLEAN out1D_z "Do 1D IOASCII output in the z-direction" STEERABLE = ALWAYS
+{
+} "yes"
+BOOLEAN out1D_d "Do 1D IOASCII output in the diagonal-direction" STEERABLE = ALWAYS
+{
+} "yes"
+
+
+#############################################################################
+### import grid parameters
+#############################################################################
+shares: grid
+
+USES KEYWORD domain ""
+{
+}
+
+USES KEYWORD bitant_plane ""
+{
+}
+
+
+#############################################################################
+### import IOUtil parameters
+#############################################################################
+shares: IO
+
+####################
+# Output directories
+####################
+USES STRING outdir ""
+{
+}
+
+
+########################
+# How often to do output
+########################
+USES INT out_every ""
+{
+ : ::
+}
+
+
+################
+# various things
+################
+USES BOOLEAN verbose ""
+{
+}