aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorlanfer <lanfer@4825ed28-b72c-4eae-9704-e50c059e567d>2000-08-22 16:46:15 +0000
committerlanfer <lanfer@4825ed28-b72c-4eae-9704-e50c059e567d>2000-08-22 16:46:15 +0000
commit75d91a8760dc343715be4faeb8f2ffeab4cf4144 (patch)
tree39cb628a07a7da5442c01c2bcc238eee89486616 /schedule.ccl
parent3a141c4a390c403e35c3b6453567028b63b3ee1e (diff)
extended IOHDF5 which can do n dimensional output plus n-1 dimensional hyperslabs - testing phase
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@2 4825ed28-b72c-4eae-9704-e50c059e567d
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl46
1 files changed, 46 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
new file mode 100644
index 0000000..03fd80f
--- /dev/null
+++ b/schedule.ccl
@@ -0,0 +1,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"
+}