diff options
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/schedule.ccl b/schedule.ccl index 0e44842..ae76b4a 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -26,29 +26,20 @@ schedule IOFlexIO_Choose2D at BASEGRID after SpatialCoordinates ######################################################################## ### register checkpointing routines ######################################################################## -if (checkpoint && checkpoint_ID) +schedule IOFlexIO_InitialDataDumpGH at CCTK_CPINITIAL { - schedule IOFlexIO_InitialDataDumpGH at CCTK_CPINITIAL - { - LANG:C - } "Initial data checkpoint routine" -} + LANG:C +} "Initial data checkpoint routine" -if (checkpoint && checkpoint_every > 0) +schedule IOFlexIO_ConditionallyDumpGH at CCTK_CHECKPOINT { - schedule IOFlexIO_ConditionallyDumpGH at CCTK_CHECKPOINT - { - LANG:C - } "Regular checkpoint routine" -} + LANG:C +} "Regular checkpoint routine" -#if (checkpoint && checkpoint_every > 0) +#schedule IOFlexIO_TerminationDumpGH at CCTK_TERMINATE BEFORE Driver_Terminate #{ -# schedule IOFlexIO_TerminationDumpGH at CCTK_TERMINATE BEFORE Driver_Terminate -# { -# LANG:C -# } "Termination checkpoint routine" -#} +# LANG:C +#} "Termination checkpoint routine" if (! CCTK_Equals (recover, "no") && *recover_file) { |