blob: 0ff1986a51801397d19f752425a3327940165ec2 (
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
|
# Schedule definitions for thorn CarpetIOHDF5
storage: next_output_iteration next_output_time this_iteration
schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup
{
LANG: C
} "Startup routine"
schedule CarpetIOHDF5_Init at BASEGRID
{
LANG: C
OPTIONS: global
} "Initialisation routine"
if (checkpoint && checkpoint_ID)
{
schedule CarpetIOHDF5_InitialDataCheckpoint at CPINITIAL
{
LANG: C
OPTIONS: meta
} "Initial data checkpoint routine"
}
schedule CarpetIOHDF5_EvolutionCheckpoint at CHECKPOINT
{
LANG: C
OPTIONS: meta
} "Evolution checkpoint routine"
schedule CarpetIOHDF5_TerminationCheckpoint at TERMINATE
{
LANG: C
OPTIONS: meta
} "Termination checkpoint routine"
schedule CarpetIOHDF5_CloseFiles at POSTINITIAL
{
LANG: C
OPTIONS: global
} "Close all filereader input files"
if (! CCTK_Equals (recover, "no") && *recover_file)
{
schedule CarpetIOHDF5_RecoverParameters at RECOVER_PARAMETERS
{
LANG:C
OPTIONS: meta
} "Parameter recovery routine"
if (use_reflevels_from_checkpoint)
{
schedule CarpetIOHDF5_SetNumRefinementLevels at STARTUP before CarpetIOHDF5_Startup
{
LANG:C
OPTIONS: meta
} "Overwrite 'CarpetRegird::refinement_levels' with the number of levels found in the checkpoint file"
}
schedule CarpetIOHDF5_CloseFiles at POST_RECOVER_VARIABLES
{
LANG: C
OPTIONS: meta
} "Close all initial data checkpoint files after recovery"
}
|