aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl41
1 files changed, 10 insertions, 31 deletions
diff --git a/interface.ccl b/interface.ccl
index fd71fbc..43e906b 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -2,38 +2,17 @@
# $Header$
implements: AHFinderDirect
-inherits: Grid ADMBase StaticConformal
+inherits: Grid ADMBase StaticConformal SpaceMask
+
+# include file provided by SpaceMask
+USES INCLUDE: SpaceMask.h
################################################################################
-#
-# diagnostics computed by this thorn which other thorns may want to use,
-# and/or which we may want to output with Cactus I/O methods
-#
-protected:
+public:
-###
-### all the remaining diagnostics are arrays subscripted by the
-### (1-origin) horizon number hn ; subscript 0 is unused
-###
-##int BH_diagnostics__int TYPE=array DIM=1 SIZE=N_horizons+1 \
-## DISTRIB=constant TIMELEVELS=1
-##{
-### this is a Boolean flag: 0=false, 1=true
-##AH_found # was this AH found the last time we searched for it?
-## # (if this thorn is active, we search at each time step)
-##} "CCTK_INT diagnostics calculated for each apparent horizon found"
-##
-###
-### these diagnostics are only defined for those apparent horizons
-### where AH_found[hn] is true
-###
-##real BH_diagnostics__real TYPE=array DIM=1 SIZE=N_horizons+1 \
-## DISTRIB=constant TIMELEVELS=1
-##{
-### FIXME: it would be nice to gather these together in some way
-##centroid_x, centroid_y, centroid_z # centroid position
-##
-##area # area of apparent horizon
-##m_irreducible # irreducible mass = sqrt(area/(16*pi))
-##} "CCTK_REAL diagnostics calculated for each apparent horizon found"
+# old-style (CCTK_REAL) mask grid function for compatability with AHFinder
+real ahfmask type=GF
+{
+ahmask
+} "old-style (CCTK_REAL) mask grid function"