aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: 391b6c8c26f03f84a563ff16fc3c0cd46b600b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Parameter definitions for thorn IOBasic
# $Header$


#############################################################################
### declare IOBasic parameters
#############################################################################
private:

##########################
# Directory to output to  (overriden by 'IO::outdir')
##########################
STRING outdir "Name of Scalar output directory, overrides IO::outdir"
{
  .* :: "A regex which matches everything"
} "."
STRING outdirScalar "Name of Scalar output directory, overrides IO::outdir"
{
  .* :: "A regex which matches everything"
} "."

##########################
# What variables to output
##########################
STRING outInfo_vars "Variables to output as Info to screen" STEERABLE = ALWAYS
{
  .* :: "A regex which matches everything"
} ""
STRING outScalar_vars "Variables to output into files" STEERABLE = ALWAYS
{
  .* :: "A regex which matches everything"
} ""


##########################
# What reductions to output
##########################
STRING outInfo_reductions "List of reductions to output as Info to screen" STEERABLE = ALWAYS
{
  ".*" :: "A regex which matches everything"
} "minimum maximum"
STRING outScalar_reductions "List of reductions to output into files" STEERABLE = ALWAYS
{
  ".*" :: "A regex which matches everything"
} "minimum maximum norm1 norm2"


########################
# How often to do output
########################
INT outInfo_every "How often to do Info output" STEERABLE = ALWAYS
{
  -1:* :: ""
} -1
INT outScalar_every "How often to do Info output" STEERABLE = ALWAYS
{
  -1:* :: ""
} -1


#####################
# Scalar output style
#####################
KEYWORD outScalar_style "Which style for Scalar output"
{
  "gnuplot" :: "1D output readable by gnuplot"
  "xgraph"  :: "1D output readable by xgraph"
} "xgraph"

STRING out_format "Which format for Scalar floating-point number output" STEERABLE = ALWAYS
{
  ^(\.[0-9]{1,2})?[EGefg]$ :: "output with given precision in exponential / floating point notation"
} ".13f"



#############################################################################
### import IOUtil parameters
#############################################################################
shares: IO

####################
# Output directories
####################
#FIXME: want USES AS
#USES STRING outdir


########################
# How often to do output
########################
USES INT out_every


################
# various things
################
USES BOOLEAN newverbose
USES BOOLEAN new_filename_scheme
EXTENDS KEYWORD out_fileinfo
{
  "axis labels" :: "add axis labels information to output files"
}