aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetIOF5/param.ccl
blob: bd8f1433212e932fc075e00cc3a4db053de7b16e (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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# Parameter definitions for thorn CarpetIOF5

SHARES: IO

USES STRING  filereader_ID_dir AS IO_filereader_ID_dir

USES KEYWORD recover
USES STRING  recover_dir AS IO_recover_dir
USES STRING  recover_file

USES STRING  out_dir   AS IO_out_dir
USES INT     out_every AS IO_out_every
USES INT     out_timesteps_per_file

USES BOOLEAN checkpoint_ID
USES INT     checkpoint_every
USES BOOLEAN checkpoint_on_terminate
USES STRING  checkpoint_dir AS IO_checkpoint_dir



PRIVATE:

BOOLEAN verbose "Verbosity" STEERABLE=always
{
} "no"



STRING filereader_ID_dir "Input directory (overrides IO::filereader_ID_dir)" STEERABLE=always
{
  "^$" :: "Empty: use IO::filereader_ID_dir"
  ".+" :: "Not empty: directory name"
} ""

STRING out_dir "Output directory (overrides IO::out_dir)" STEERABLE=always
{
  "^$" :: "Empty: use IO::out_dir"
  ".+" :: "Not empty: directory name"
} ""

STRING out_vars "Variables to output in F5 format" STEERABLE=always
{
  "" :: "List of group or variable names"
} ""

INT out_every "How often to do CarpetIOF5 output, overrides out_every" STEERABLE=always
{
  1:*  :: "Output every so many time steps"
  -1:0 :: "No output"
  -2   :: "Use 'IO::out_every'"
} -2



KEYWORD file_content "Create one file for every x" STEERABLE=always
{
  "group"      :: ""
  "thorn"      :: ""
  "everything" :: ""
} "everything"

STRING out_filename "File name (without extension) for file_content='everything'" STEERABLE=always
{
  ""   :: "use the parameter file name"
  ".+" :: "use this file name"
} ""

INT iteration_digits "Minimum number of digits for iteration number" STEERABLE=always
{
  0:* :: ""
} 8

INT processor_digits "Minimum number of digits for processor number" STEERABLE=always
{
  0:* :: ""
} 6

STRING out_extension "File name extension" STEERABLE=always
{
  "" :: "File extension (including a leading dot, if desired)"
} ".f5"

BOOLEAN create_subdirs "Create subdirectories for the output files to reduce the number of files per directory" STEERABLE=always
{
} "no"

BOOLEAN one_dir_per_file "Create one subdirectory per output file to reduce locking overhead" STEERABLE=always
{
} "no"



INT max_nioprocs "Maximum number of I/O processes" STEERABLE=always
{
  0   :: "unlimited"
  1:* :: "that many processes"
} 0



BOOLEAN separate_single_component_tensors "Use a separated representation even for single-component tensors" STEERABLE=always
{
} "no"

BOOLEAN fragment_contiguous_components "Use a fragmented representation even for linear representations" STEERABLE=always
{
} "no"



BOOLEAN output_all_timelevels "Output all timelevels (instead of only the current)" STEERABLE=always
{
} "no"

INT minimum_component_overlap "Minimum overlap between components, even when ghosts are not output" STEERABLE=always
{
  0:* :: ""
} 1

BOOLEAN output_symmetry_points "Output symmetry and inter-patch boundary points" STEERABLE=always
{
} "no"

BOOLEAN output_ghost_points "Output ghost points" STEERABLE=always
{
} "no"

BOOLEAN output_boundary_points "Output outer boundary points" STEERABLE=always
{
} "yes"



STRING recover_dir "Recover directory (overrides IO::recover_dir)" STEERABLE=always
{
  "^$" :: "Empty: use IO::recover_dir"
  ".+" :: "Not empty: directory name"
} ""

BOOLEAN checkpoint "Checkpoint" STEERABLE=always
{
} "no"

BOOLEAN checkpoint_next "Checkpoint at next iteration" STEERABLE=always
{
} "no"

STRING checkpoint_dir "Checkpoint directory (overrides IO::checkpoint_dir)" STEERABLE=always
{
  "^$" :: "Empty: use IO::checkpoint_dir"
  ".+" :: "Not empty: directory name"
} ""



BOOLEAN use_chunks "Always use chunked layout" STEERABLE=always
{
} "yes"

INT max_chunksize "Maximum chunk size (in bytes)" STEERABLE=always
{
  1:* :: ""
} 131072                        # 128 kB

INT compression_level "Compression level" STEERABLE=always
{
  -1  :: "no compression"
  0:9 :: "smaller numbers compress faster, larger numbers compress better"
} 1

BOOLEAN use_checksums "Include a checksum for the data" STEERABLE=always
{
} "yes"