# Interface definition for thorn AHFinderDirect # $Header$ implements: AHFinderDirect inherits: Grid ADMBase StaticConformal ################################################################################ # # 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: # # 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"