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

########################################################################
### register IOFlexIO routines
########################################################################
schedule IOFlexIO_Startup at STARTUP
{
  LANG:C
} "IOFlexIO startup routine"


########################################################################
### register checkpointing routines
########################################################################
if (checkpoint_FlexIO && checkpoint_ID) {
  schedule IOFlexIO_InitialDataDumpGH at CCTK_CPINITIAL {
    LANG:C
  } "Initial data checkpoint routine"
}

if (checkpoint_FlexIO && checkpoint_every > 0) {
  schedule IOFlexIO_ConditionallyDumpGH at CCTK_CHECKPOINT {
    LANG:C
  } "Regular checkpoint routine"
}

if (checkpoint_FlexIO) {
  schedule IOFlexIO_TerminationDumpGH at CCTK_TERMINATE {
    LANG:C
  } "Termination checkpoint routine"
}