aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetIOF5/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2010-08-24 12:10:36 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:21:12 +0000
commit5fe6689c15dc6e5485dff1ecee016ff511f96cbe (patch)
tree66234eacd65e033f858a6d558e13eade2988cd94 /CarpetDev/CarpetIOF5/interface.ccl
parente3283feb24d585ec76130ba363892ec4630b73e9 (diff)
CarpetIOF5: New thorn
Diffstat (limited to 'CarpetDev/CarpetIOF5/interface.ccl')
-rw-r--r--CarpetDev/CarpetIOF5/interface.ccl46
1 files changed, 46 insertions, 0 deletions
diff --git a/CarpetDev/CarpetIOF5/interface.ccl b/CarpetDev/CarpetIOF5/interface.ccl
new file mode 100644
index 000000000..4c09d8b12
--- /dev/null
+++ b/CarpetDev/CarpetIOF5/interface.ccl
@@ -0,0 +1,46 @@
+# Interface definition for thorn CarpetIOF5
+
+IMPLEMENTS: CarpetIOF5
+
+INHERITS: grid
+
+USES INCLUDE: carpet.hh
+
+
+
+# Return a pointer to an unmodifiable C string
+# which contains a unique ID for this configuration
+CCTK_POINTER_TO_CONST \
+FUNCTION UniqueConfigID (CCTK_POINTER_TO_CONST IN cctkGH)
+USES FUNCTION UniqueConfigID
+
+# Return a pointer to an unmodifiable C string
+# which contains a unique ID for this build
+CCTK_POINTER_TO_CONST \
+FUNCTION UniqueBuildID (CCTK_POINTER_TO_CONST IN cctkGH)
+USES FUNCTION UniqueBuildID
+
+# Return a pointer to an unmodifiable C string
+# which contains a unique ID for this simulation
+CCTK_POINTER_TO_CONST \
+FUNCTION UniqueSimulationID (CCTK_POINTER_TO_CONST IN cctkGH)
+USES FUNCTION UniqueSimulationID
+
+# Return a pointer to an unmodifiable C string
+# which contains a unique ID for this run
+CCTK_POINTER_TO_CONST \
+FUNCTION UniqueRunID (CCTK_POINTER_TO_CONST IN cctkGH)
+USES FUNCTION UniqueRunID
+
+
+
+# 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
+
+
+
+# The setup of the system
+CCTK_INT FUNCTION MultiPatch_GetSystemSpecification \
+ (CCTK_INT OUT maps)
+USES FUNCTION MultiPatch_GetSystemSpecification