aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2005-06-05 22:09:21 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2005-06-05 22:09:21 +0000
commitfe865992c8725f7b63bcf3f1b46cdaf6eead885f (patch)
tree74559fa097a492fa7ec323bbd71c4a179d09a9e0 /interface.ccl
parentc2bbe6b25ba6d4cca2b836ee75a81a00a2bd8852 (diff)
Publish a unique ID for the simulation through an aliased function.
Announce the current date and time as well. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@38 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl11
1 files changed, 11 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index 32918c2..295f02e 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -5,3 +5,14 @@ IMPLEMENTS: Formaline
# for HTTP_Port()
USES INCLUDE HEADER: http_Content.h
+
+
+
+# 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)
+
+PROVIDES FUNCTION UniqueSimulationID \
+ WITH Formaline_UniqueSimulationID \
+ LANGUAGE C