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

########################################################################
### register IOHDF5 routines
########################################################################
schedule IOHDF5_Startup at STARTUP after (IOUtil_Startup Driver_Startup)
{
  LANG:C
} "IOHDF5 startup routine"


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

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

#if (checkpoint)
#{
#  schedule IOHDF5_TerminationDumpGH at CCTK_TERMINATE BEFORE Driver_Terminate
#  {
#    LANG:C
#  } "Termination checkpoint routine"
#}

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