aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOScalar/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2005-06-05 22:12:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2005-06-05 22:12:00 +0000
commitee37736f3257d420de4d042546bb1afef8330393 (patch)
tree77e6e93e3754d541dd78d20f36e2ad3e2419eaee /Carpet/CarpetIOScalar/interface.ccl
parent6c6679c932ca5927087a1c9481ce0e6ca69ff3dc (diff)
CarpetIOScalar: Put unique simulation ID into each file
darcs-hash:20050605221248-891bb-7b144657af9cd98a9a4462ae7ef3ec75117be7a8.gz
Diffstat (limited to 'Carpet/CarpetIOScalar/interface.ccl')
-rw-r--r--Carpet/CarpetIOScalar/interface.ccl8
1 files changed, 8 insertions, 0 deletions
diff --git a/Carpet/CarpetIOScalar/interface.ccl b/Carpet/CarpetIOScalar/interface.ccl
index 5f4deccb1..f7d451c04 100644
--- a/Carpet/CarpetIOScalar/interface.ccl
+++ b/Carpet/CarpetIOScalar/interface.ccl
@@ -13,3 +13,11 @@ CCTK_INT FUNCTION IO_TruncateOutputFiles \
(CCTK_POINTER_TO_CONST IN GH)
REQUIRES FUNCTION IO_TruncateOutputFiles
+
+
+
+# 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