aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
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