# Parameter definitions for thorn StreamedHDF5 # $Header$ ############################################################################# ### declare StreamedHDF5 parameters ############################################################################# private: ######################## # How often to do output ######################## INT outPS_every "How often to do ASCII streaming, overrides IO::out_every" STEERABLE = ALWAYS { -1:* :: } -1 ######################## # Verbose / diagnostiscs ######################## KEYWORD PSverbose "Verbosity level" { "yes" :: "information output" "no" :: "quiet" "debug":: "debugging output" } "no" KEYWORD test "PUGHStream test" { "yes" :: "perform test" "no" :: "do not test" } "no" ##################### # Variables to output ##################### STRING out_vars "Variables to stream as ASCII" STEERABLE = ALWAYS { .* :: A regex which matches everything } "" STRING testvars "Variables to stream as ASCII" STEERABLE = ALWAYS { .* :: "format" } "" INT port "Port to stream the ASCII file out" STEERABLE = ALWAYS { 1000:16000 :: "Valid ranges are above 1000, ports below that value would require root access" } 8000 KEYWORD blocking "Block the socket" { "yes" :: "socket write waits for client read" "no" :: "socket write does not wait for client read" } "no" ##################### # Variables to output ##################### STRING origin "Default origin" { .* :: "Comma separated list of positive integer values" } "0,0,0" STRING downsampling "Default downsampling" { .* :: "Comma separated list of positive integer values" } "1,1,1" STRING length "Default length of the hyperslab to stream" { .* :: "Comma separated list of integer values" } "-1,-1,-1" STRING direction "Default direction of hyperslab to stream" { .* :: "Comma separated list of positive integer values" } "0,1,2" CCTK_INT slabdim "default dimension of slab" { 1:3 :: "dimension of slab (1,2,3)" } 1 ############################################################################# ### import IOUtil parameters ############################################################################# shares: IO ######################## # How often to do output ######################## USES INT out_every ################ # various things ################ USES BOOLEAN verbose