diff options
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl new file mode 100644 index 0000000..ddf2d19 --- /dev/null +++ b/schedule.ccl @@ -0,0 +1,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" +} |