aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOBasic/param.ccl
blob: 8d105ff6aa2e6e59608210bcc9f8bb494780069e (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
# Parameter definitions for thorn CarpetIOBasic

SHARES: IO

USES KEYWORD out_criterion
USES CCTK_INT out_every
USES CCTK_REAL out_dt

USES BOOLEAN strict_io_parameter_check



PRIVATE:

CCTK_STRING outInfo_vars "Variables to output in scalar form" STEERABLE = ALWAYS
{
  "" :: "A regex which matches everything"
} ""

CCTK_STRING outInfo_reductions "List of reductions to output in scalar form" STEERABLE = ALWAYS
{
  "" :: "A regex which matches everything"
} "minimum maximum"



KEYWORD outInfo_criterion "Criterion to select scalar output intervals, overrides out_every" STEERABLE = ALWAYS
{
  "never"     :: "Never output"
  "iteration" :: "Output every so many iterations"
  "divisor"   :: "Output if iteration mod divisor == 0."
  "time"      :: "Output every that much coordinate time"
} "iteration"

CCTK_INT outInfo_every "How often to do scalar output, overrides IO::out_every" STEERABLE = ALWAYS
{
   1:* :: "Output every so many time steps"
  -1:0 :: "No output"
  -2   :: "Default to IO::out_every"
} -2

REAL outInfo_dt "How often to do scalar output, overrides out_dt" STEERABLE = ALWAYS
{
  (0:* :: "In intervals of that much coordinate time"
   0   :: "As often as possible"
  -1   :: "Disable output"
  -2   :: "Default to IO::out_dt"
} -2


INT outHeader_every "How often to print the header" STEERABLE = ALWAYS
{
  1:* :: "Output every so many time steps" 
 -1   :: "No header output"
} 20

# Output field widths and precisions

INT iter_width "Field width for the current iteration" STEERABLE = ALWAYS
{
  1:* :: ""
} 9

INT time_width "Field width for the simulation time" STEERABLE = ALWAYS
{
  1:* :: ""
} 9

INT time_prec "Precision for the simulation time" STEERABLE = ALWAYS
{
  0:* :: ""
} 3



INT int_width "Field width for integer values" STEERABLE = ALWAYS
{
  1:* :: ""
} 9
  
INT real_width "Field width for real values" STEERABLE = ALWAYS
{
  1:* :: ""
} 12
  
INT real_prec "Precision for real values" STEERABLE = ALWAYS
{
  0:* :: ""
} 7
  
INT real_prec_sci "Precision for real values in scientific notation" STEERABLE = ALWAYS
{
  0:* :: ""
} 6



REAL real_min "Lower bound for numbers that are displayed in fixed notation" STEERABLE = ALWAYS
{
  (0.0:* :: ""
} 1.0e-8

REAL real_max "Upper bound for numbers that are displayed in fixed notation" STEERABLE = ALWAYS
{
  (0.0:* :: ""
} 1.0e+3