blob: 8e2dfe695488c9943efba69f0c0173355f62c987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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"
|