aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetIOF5/schedule.ccl
blob: 59b86f1cfa922d1d402aad98d59765534c67c667 (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
# Schedule definitions for thorn CarpetIOF5

STORAGE: this_iteration next_output_iteration



# Initialisation

SCHEDULE CarpetIOF5_Startup AT startup
{
  LANG: C
} "Register I/O method"

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"



#SCHEDULE F5_Output AT initial
#{
#  LANG: C
#  OPTIONS: global-late
#} "Create an output file"
#
#
#
#SCHEDULE F5_Poison AT initial AFTER F5_Output BEFORE F5_Input
#{
#  LANG: C
#  OPTIONS: global-late
#} "Poison all variables"
#
#SCHEDULE F5_Input AT initial AFTER F5_Output
#{
#  LANG: C
#  OPTIONS: global-late
#} "Read from file"
#
#SCHEDULE F5_Check AT initial AFTER F5_Input
#{
#  LANG: C
#  OPTIONS: global-late
#} "Check all variables for poison"