aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-11-20 16:03:21 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-11-20 16:03:21 +0000
commit1973e5b8fe2d76d877fdf0203447633ef15249c5 (patch)
treecb1c0ace8beda4793286445685b53ab9b8a47618 /param.ccl
parente2bd8fbbb79977bf06270461a23865c4165edf24 (diff)
add new parameter
real min_horizon_size_for_mask \ "only set mask if min horizon radius >= this number of local grid spacings" docs will follow shortly... git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1208 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl20
1 files changed, 20 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index 4c4e2e8..3c2a842 100644
--- a/param.ccl
+++ b/param.ccl
@@ -528,6 +528,26 @@ boolean mask_is_noshrink \
} "true"
#
+# If we're using mesh refinement (eg Carpet) it's possible to find a
+# horizon on a fnie grid, and then set a mask on a coarser grid where
+# the masked-off region is only a few grid points across. This then
+# confuses various other thorns (eg LegoExcision) which require excised
+# regions to be "not too small".
+#
+# So... This parameter may be used to specify that the mask not be set
+# for a given horizon (just as if that horizon wasn't found) on any grid
+# where the ratio
+# BH_diagnostics.min_radius / max(Delta_x,Delta_y,Delta_z)
+# (where Delta_[xyz] are the *LOCAL* grid spacings on the current grid)
+# is too small (in particular, < this parameter).
+#
+real min_horizon_size_for_mask \
+ "only set mask if min horizon radius >= this number of local grid spacings"
+{
+0.0:* :: "any real number >= 0.0"
+} 0.0
+
+#
# This thorn supports two types of mask grid functions:
# * the "old" style is that defined by CactusEinstein/AHFinder:
# the mask is a CCTK_REAL grid function, which is set to specified