From 8d274d170dde9d858e0a13a43762d3976ea4e3b1 Mon Sep 17 00:00:00 2001 From: jthorn Date: Mon, 17 Mar 2003 12:06:49 +0000 Subject: 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 --- interface.ccl | 41 ++++++++++------------------------------- 1 file changed, 10 insertions(+), 31 deletions(-) (limited to 'interface.ccl') 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" -- cgit v1.2.3