diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2011-06-27 09:49:19 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 19:54:44 +0000 |
commit | 661f5a7eb9550830a0b4b11b7825157d24c34b79 (patch) | |
tree | ddd9dbabe5d73ba2ffd91f7980deca99ad14aae3 /CarpetDev/CarpetIOF5/schedule.ccl | |
parent | 4edfe4fe4281e25c0196387a1940fb4227b388df (diff) |
CarpetIOF5: Provide standard Cactus output interface
Provide standard Cactus output interface.
Begin to implement checkpointing (support for dim!=3 variables still missing).
Diffstat (limited to 'CarpetDev/CarpetIOF5/schedule.ccl')
-rw-r--r-- | CarpetDev/CarpetIOF5/schedule.ccl | 65 |
1 files changed, 53 insertions, 12 deletions
diff --git a/CarpetDev/CarpetIOF5/schedule.ccl b/CarpetDev/CarpetIOF5/schedule.ccl index 494ce02fe..59b86f1cf 100644 --- a/CarpetDev/CarpetIOF5/schedule.ccl +++ b/CarpetDev/CarpetIOF5/schedule.ccl @@ -1,27 +1,68 @@ # Schedule definitions for thorn CarpetIOF5 -SCHEDULE F5_Output AT initial +STORAGE: this_iteration next_output_iteration + + + +# Initialisation + +SCHEDULE CarpetIOF5_Startup AT startup { LANG: C - OPTIONS: global-late -} "Create an output file" +} "Register I/O method" +SCHEDULE CarpetIOF5_Init AT basegrid +{ + LANG: C + OPTIONS: global +} "Initialise I/O data structures" -SCHEDULE F5_Poison AT initial AFTER F5_Output BEFORE F5_Input + +# Checkpointing + +schedule CarpetIOF5_InitialDataCheckpoint at CPINITIAL { LANG: C - OPTIONS: global-late -} "Poison all variables" + OPTIONS: global +} "Initial data checkpoint routine" -SCHEDULE F5_Input AT initial AFTER F5_Output +schedule CarpetIOF5_EvolutionCheckpoint at CHECKPOINT { LANG: C - OPTIONS: global-late -} "Read from file" + OPTIONS: global +} "Evolution checkpoint routine" -SCHEDULE F5_Check AT initial AFTER F5_Input +schedule CarpetIOF5_TerminationCheckpoint at TERMINATE { LANG: C - OPTIONS: global-late -} "Check all variables for poison" + OPTIONS: global +} "Termination checkpoint routine" + + + +#SCHEDULE F5_Output AT initial +#{ +# LANG: C +# OPTIONS: global-late +#} "Create an output file" +# +# +# +#SCHEDULE F5_Poison AT initial AFTER F5_Output BEFORE F5_Input +#{ +# LANG: C +# OPTIONS: global-late +#} "Poison all variables" +# +#SCHEDULE F5_Input AT initial AFTER F5_Output +#{ +# LANG: C +# OPTIONS: global-late +#} "Read from file" +# +#SCHEDULE F5_Check AT initial AFTER F5_Input +#{ +# LANG: C +# OPTIONS: global-late +#} "Check all variables for poison" |