aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: e2e8a75d9311ec061f352b830aed5de544817863 (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
# Schedule definitions for thorn IOFlexIO
# $Header$

########################################################################
### register IOFlexIO startup/termination routines
########################################################################
schedule IOFlexIO_Startup at STARTUP after ( IOUtil_Startup Driver_Startup )
{
  LANG:C
} "Startup routine"

schedule IOFlexIO_TerminateGH at TERMINATE after IOFlexIO_TerminationCheckpoint
{
  LANG:C
} "Closing open IEEEIO files"


########################################################################
### choose 2D slices
########################################################################
schedule IOFlexIO_Choose2D at BASEGRID after SpatialCoordinates
{
  LANG:C
} "Choose 2D output planes"


########################################################################
### register checkpoint/recovery routines
########################################################################
schedule IOFlexIO_InitialDataCheckpoint at CPINITIAL
{
  LANG:C
} "Initial data checkpoint routine"

schedule IOFlexIO_EvolutionCheckpoint at CHECKPOINT
{
  LANG:C
} "Evolution data checkpoint routine"

schedule IOFlexIO_TerminationCheckpoint at TERMINATE BEFORE Driver_Terminate
{
  LANG:C
} "Termination checkpoint routine"

if (! CCTK_Equals (recover, "no") && *recover_file)
{
  schedule IOFlexIO_RecoverParameters at RECOVER_PARAMETERS
  {
    LANG:C
  } "Parameter recovery routine"
}