summaryrefslogtreecommitdiff
path: root/src/param.ccl
blob: 3edf9eddc2cf60f90ef7deb9400d710fa2e3aa26 (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
# Parameter definitions for flesh
# $Header$

 
private:

STRING cctk_run_title "Description of this simulation" 
{
  ".*" :: "Any string"
} ""

KEYWORD cctk_timer_output  "Provide output from timers"
{
 "off"  :: "No timer output"
 "full" :: "Detailed timer output"
} "off"

# FIXME: this should be deprecated in favor of a new  warn_format
#        parameter analogous to  info_format
BOOLEAN cctk_full_warnings "Give detailed information for each warning statement" STEERABLE=ALWAYS
{
} "no"

KEYWORD info_format "What information do CCTK_INFO() and CCTK_VInfo() print?"
{
# This is the traditional Cactus INFO output.
"basic" :: "INFO (ThornName): message"

# This prefixes each line with a numeric wall-clock time stamp, in
# units of seconds, followed by a tab ("\t") character.  The time stamp
# might be either an integer or a floating-point number, depending
# on the timing resolution available.  The time stamp is placed at
# the start of the line, and delimited by a tab character, to make
# it easy to use various data analysis tools on the resulting output.
"numeric time stamp" :: "numeric_timestamp\tINFO (ThornName): message"

# This prefixes each line with a human-readable time stamp in the
# format returned by  ctime(3) , followed by a ": ".
"human-readable time stamp" :: \
    "human readable timestamp: INFO (ThornName): message"

# This prefixes each line with a numeric wall-clock time stamp, in
# units of seconds, followed by a tab ("\t") character, followed by
# a human-readable time stamp in the format returned by  ctime(3) ,
# followed by a ": ".
"full time stamp" :: \
    "numeric_timestamp\thuman readable timestamp: INFO (ThornName): message"
} "basic"

BOOLEAN cctk_strong_param_check "Die on parameter errors in CCTK_PARAMCHECK"
{
} "yes"

BOOLEAN cctk_show_schedule "Print the scheduling tree to standard output"
{
} "yes"

BOOLEAN cctk_show_banners "Show any registered banners for the different thorns"
{
} "yes"
 
BOOLEAN cctk_brief_output "Give only brief output"
{
} "no"

BOOLEAN manual_cache_setup "Set the cache size manually"
{
} "no"

INT manual_cache_size "The size to set the cache to if not done automatically (bytes)"
{
  0: :: "Any whole number"
} 0

INT manual_cacheline_bytes "The size of a cacheline if not set automatically (bytes)"
{
  0: :: "Any whole number"
} 0

BOOLEAN allow_mixeddim_gfs "Allow use of GFs from different dimensions"
{
} "no"

KEYWORD recovery_mode "How to behave when recovering from a checkpoint" STEERABLE=RECOVER
{
  "strict"  :: "All CCTK variables must be recovered successfully, no INITIAL timebins will be scheduled"
  "relaxed" :: "Recover variables if possible, schedule INITIAL timebins afterwards"
} "strict"


restricted:

BOOLEAN terminate_next "Terminate on next iteration?" STEERABLE=ALWAYS
{
} "no"

KEYWORD terminate "Condition on which to terminate evolution loop" STEERABLE=ALWAYS
{
  "never"     :: "Never terminate"
  "iteration" :: "Take termination condition from iteration number"
  "time"      :: "Take termination condition from coordinate time"
  "runtime"   :: "Take termination condition from elapsed runtime"
  "any"       :: "Take termination condition from any of iteration number, coordinate time, or elapsed runtime"
  "all"       :: "Take termination condition from all of iteration number, coordinate time, and elapsed runtime"
  "either"    :: "Take termination condition from either iteration number or coordinate time (DEPRECATED IN BETA14)"
  "both"      :: "Take termination condition from both iteration number and coordinate time (DEPRECATED IN BETA14)"
} "iteration"

REAL cctk_initial_time "Initial time for evolution"
{
  : :: "Anything"
} 0.0
 
REAL cctk_final_time "Final time for evolution" STEERABLE=ALWAYS
{
  : :: "Anything"
} -1.0
 
INT cctk_itlast "Final iteration number" STEERABLE = ALWAYS
{
  : :: "Any integer"
} 10
 
REAL max_runtime "Terminate evolution loop after a certain elapsed runtime (in minutes)" STEERABLE = ALWAYS
{
  0.0: :: "Zero disables maximum runtime condition"
} 0.0