aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2005-11-19 21:28:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2005-11-19 21:28:00 +0000
commit4afd8eb20f64e4cca999111dd93dab8ee4eca67f (patch)
tree0f909a14a540e265e67f98ecfeb583c6c52ab047 /Carpet/CarpetIOHDF5/interface.ccl
parent8a311ef0b05b0508c3b36e953ee3543a84890ebf (diff)
CarpetIOHDF5: Put unique build ID into output files
darcs-hash:20051119212808-dae7b-023ea8552306cda54ab6204ee338809a55228a3b.gz
Diffstat (limited to 'Carpet/CarpetIOHDF5/interface.ccl')
-rw-r--r--Carpet/CarpetIOHDF5/interface.ccl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Carpet/CarpetIOHDF5/interface.ccl b/Carpet/CarpetIOHDF5/interface.ccl
index acba46c97..100f4dcf6 100644
--- a/Carpet/CarpetIOHDF5/interface.ccl
+++ b/Carpet/CarpetIOHDF5/interface.ccl
@@ -35,6 +35,12 @@ REQUIRES FUNCTION IO_TruncateOutputFiles
# 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)