blob: e633aef189f43f921ad2fbbce040a8c4e8ac4971 (
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
|
# Schedule definitions for thorn CarpetIOF5
STORAGE: this_iteration next_output_iteration
# Initialisation
SCHEDULE CarpetIOF5_Startup AT startup AFTER Driver_Startup
{
LANG: C
} "Register I/O method"
if (!CCTK_EQUALS(recover, "no")) {
SCHEDULE CarpetIOF5_RecoverParameters AT recover_parameters
{
LANG: C
OPTIONS: level
} "Recover parameters"
}
SCHEDULE CarpetIOF5_Init AT basegrid
{
LANG: C
OPTIONS: global
} "Initialise I/O data structures"
# Checkpointing
schedule CarpetIOF5_InitialDataCheckpoint at CPINITIAL
{
LANG: C
OPTIONS: global
} "Initial data checkpoint routine"
schedule CarpetIOF5_EvolutionCheckpoint at CHECKPOINT
{
LANG: C
OPTIONS: global
} "Evolution checkpoint routine"
schedule CarpetIOF5_TerminationCheckpoint at TERMINATE
{
LANG: C
OPTIONS: global
} "Termination checkpoint routine"
|