aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-09-21 22:30:22 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-09-21 22:30:22 +0000
commit4f26dd60ba0aec96bb2cf4fbec7947ac9552c598 (patch)
tree3d7606e6d65419cae89e895251a0558b58dffcf6 /schedule.ccl
parentd760bd28ab5b35db6bbb66c7b93a0eadad5f5023 (diff)
Unconditionally schedule the checkpoint routines.
They check themselfs if they should do something. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@155 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl27
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)
{