# 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 "" { }