diff options
author | rhaas <rhaas@053b05ff-9803-4dc7-a0e4-4b49d75fdb53> | 2012-01-24 20:26:51 +0000 |
---|---|---|
committer | rhaas <rhaas@053b05ff-9803-4dc7-a0e4-4b49d75fdb53> | 2012-01-24 20:26:51 +0000 |
commit | 5b07cb7d51be62ea3c90e43bc4a83a64ea69294c (patch) | |
tree | cea8408b358c7c1f30271199906f18fc4b73f586 /interface.ccl | |
parent | 73a54c0fb644202bd8bc2cb937112da72d260473 (diff) |
support named spherical surfaces
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinUtils/SetMask_SphericalSurface/trunk@114 053b05ff-9803-4dc7-a0e4-4b49d75fdb53
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 5 |
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 |