aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: d0e022b46857728bafe7683adc68c9ba9eaf29b3 (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Parameter definitions for thorn IOJpeg
# $Header$

private:

########################
# Specific to jpegs
########################
REAL colormap_bias "Bias automatic colormap generation towards red  (low) or blue (high)" STEERABLE = ALWAYS
{
  -1:1 :: "Could be unrestricted"
} 0.5

INT colormap_quality "JPEG quality of level" STEERABLE = ALWAYS
{
  0:100 :: "Percentage of full quality"
} 75

INT colormap_factor "How to scale float values to rgb color" STEERABLE = ALWAYS
{
  2:256 :: "Positive scaling"
} 32

KEYWORD colormap "how to set the colormap" STEERABLE=ALWAYS
{
  "auto"   :: "Set automatically using min/max of grid variables"
  "custom" :: "Set min/max manually"
} "custom"

REAL colormap_min "minimum value to be mapped to colors" STEERABLE = ALWAYS
{
 *:* :: "Only for custom colormap scale"
} -1.0

REAL colormap_max "maximum value to be mapped to colors" STEERABLE = ALWAYS
{
 *:* :: "Only for custom colormap scale"
} +1.0

########################
# How often to do output
########################
INT out2D_every "How often to do output, overrides IO::out_every" STEERABLE = ALWAYS
{
  -1   :: "Never"
   1:* :: "Every so many iterations"	
} -1

KEYWORD verbose "Verbosity level"
{
  "yes"  :: "information output"
  "debug":: "debugging output"
  "no"   :: "silent"
} "no"
 
#####################
# Variables to output
#####################
STRING out2D_vars "Variables to extract data from" STEERABLE = ALWAYS
{
  .* :: "A regex which matches everything"
} ""

STRING out2D_dir "Name of 2D Jpeg output directory, overrides outdir"
{
  .* :: "A regex which matches everything"
} "."

KEYWORD mode "Output mode to use" STEERABLE=ALWAYS
{
  "remove" :: "Remove files from old timesteps"
  "standard" :: "Generate a file for each out2D_every timesteps"
} "standard"

#####################
# Geometry information on the slab to extract
#####################

STRING origin2D "Common Intersection point of the n Slices" STEERABLE = ALWAYS
{
  .* :: "Comma separated list of positive integer values"
} "-1,-1,-1"

STRING downsampling2D "Default downsampling" STEERABLE = ALWAYS
{
  .* :: "Comma separated list of positive integer values"
} "1,1,1"

STRING length2D "Default length of the hyperslab to stream" STEERABLE = ALWAYS
{
  .* :: "Comma separated list of integer values"
} "-1,-1,-1"

STRING direction2D "Default direction of hyperslab to stream" STEERABLE = ALWAYS
{
  .* :: "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)"
} 2


#############################################################################
### import IOUtil parameters
#############################################################################

shares: IO

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

####################
# Output directories
####################
USES STRING outdir