summaryrefslogtreecommitdiff
path: root/src/param.ccl
blob: 87710f8788f193025190524360bde134221b7961 (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
# 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"

BOOLEAN cctk_full_warnings "Give detailed information for each warning statement" STEERABLE=ALWAYS
{
} "no"

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