aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-03-17 12:06:49 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-03-17 12:06:49 +0000
commit8d274d170dde9d858e0a13a43762d3976ea4e3b1 (patch)
treed394b0725cf7af6883c57b8bde59f0ffef479d6c /interface.ccl
parent498e26dd4ee819db7a0c4930e73624af936b7d47 (diff)
add 1st draft of support for setting an excision mask
-- alas this doesn't work properly (yet) for multiple processors git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@975 f88db872-0e4f-0410-b76b-b9085cfa78c5
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"