aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl5
1 files changed, 5 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index cba914b..12ff4e3 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -5,3 +5,8 @@ implements: SetMask_SphericalSurface
inherits: HydroBase SphericalSurface
USES INCLUDE: HydroBase.h
+
+# translate SphericalSurface name into ID
+CCTK_INT \
+FUNCTION sf_IdFromName (CCTK_INT IN id, CCTK_POINTER_TO_CONST IN name)
+USES FUNCTION sf_IdFromName