# Schedule definitions for thorn IOFlexIO ######################################################################## ### register IOFlexIO routines ######################################################################## schedule IOFlexIO_Startup at STARTUP after ( IOUtil_Startup Driver_Startup ) { LANG:C } "Startup routine" schedule IOFlexIO_TerminateGH at CCTK_TERMINATE { LANG:C } "Closing open IEEEIO files" ######################################################################## ### register checkpointing routines ######################################################################## if (checkpoint && checkpoint_ID) { schedule IOFlexIO_InitialDataDumpGH at CCTK_CPINITIAL { LANG:C } "Initial data checkpoint routine" } if (checkpoint && checkpoint_every > 0) { schedule IOFlexIO_ConditionallyDumpGH at CCTK_CHECKPOINT { LANG:C } "Regular checkpoint routine" } #if (checkpoint && checkpoint_every > 0) #{ # schedule IOFlexIO_TerminationDumpGH at CCTK_TERMINATE # { # LANG:C # } "Termination checkpoint routine" #} if (! CCTK_Equals (recover, "no") && *recover_file) { schedule IOFlexIO_RecoverParameters at CCTK_RECOVER_PARAMETERS { LANG:C } "Parameter recovery routine" }