aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Timers/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-08-07 18:33:48 -0400
committerErik Schnetter <schnetter@gmail.com>2013-08-07 18:57:56 -0400
commit77e61bb9a06ef271348c96d762935442c7439f0c (patch)
tree23a12a75ff19e45f65f71141efa2bf892e4773da /Carpet/Timers/interface.ccl
parent2dedcb0e7340b0682d530dc26e764408b301e3b8 (diff)
Timers: Move all timer-related code into a new thorn Timers
Diffstat (limited to 'Carpet/Timers/interface.ccl')
-rw-r--r--Carpet/Timers/interface.ccl14
1 files changed, 14 insertions, 0 deletions
diff --git a/Carpet/Timers/interface.ccl b/Carpet/Timers/interface.ccl
new file mode 100644
index 000000000..7d07d3a0c
--- /dev/null
+++ b/Carpet/Timers/interface.ccl
@@ -0,0 +1,14 @@
+# Interface definition for thorn Timers
+
+IMPLEMENTS: Timers
+
+INCLUDE HEADER: CactusTimer.hh IN CactusTimer.hh
+INCLUDE HEADER: CactusTimerSet.hh IN CactusTimerSet.hh
+INCLUDE HEADER: Timer.hh IN Timer.hh
+INCLUDE HEADER: TimerTree.hh IN TimerTree.hh
+
+
+
+# Check whether existing output files should be truncated or not
+CCTK_INT FUNCTION IO_TruncateOutputFiles(CCTK_POINTER_TO_CONST IN cctkGH)
+REQUIRES FUNCTION IO_TruncateOutputFiles