aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-11-05 14:43:17 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-11-05 14:43:17 +0000
commitbf2525328d4960c5327011740c2756b536408ae5 (patch)
tree16ce685ef06be1717ee1e659b3a478de5ca63913 /param.ccl
parenta0164d11be544c755024887fdc71e5e1269bdc41 (diff)
add (very very minimal) support for multiprocessor operation:
if all AHs are entirely within a single processor's chunk of the grid, then set AHFinderDirect::processor_number = 42 (or whatever that processor's processor number is) and things should work ok (this is not yet properly documented :( ) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@882 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl7
1 files changed, 7 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index c555b6b..98f5676 100644
--- a/param.ccl
+++ b/param.ccl
@@ -30,6 +30,13 @@ private:
# ***** overall parameters *****
#
+# if we are in a multiprocessor run, AHFinderDirect will be a no-op
+# on all processors with CCTK_MyProc() != this parameter
+int processor_number "processor number on which to run"
+{
+0:* :: "this thorn is a no-op on all processors *except* this one"
+} 0
+
boolean find_AHs_at_postinitial \
"should we try to find apparent horizons at CCTK_POSTINITIAL?"
{