aboutsummaryrefslogtreecommitdiff
path: root/Carpet/LoopControl/param.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2011-07-05 12:28:23 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 19:54:46 +0000
commit911aeb937cd4334c4406e5d115ae9a1a01e0c4e4 (patch)
treec23ddd5bcf559d7ee37f102dd779b41b0e2b4f6c /Carpet/LoopControl/param.ccl
parent5ce764af71f43b21ad94db223058d4ca5896c9fe (diff)
LoopControl: Correct OpenMP parallelisation. Add self-tests.
Correct the OpenMP parallelisation: Previously, when the loop size is not a multiple of the block size assigned to each OpenMP thread, some grid points would be traversed multiple times. Add new parameter do_selftest that enables (somewhat expensive) self-tests to ensure in each loop that each grid point is traversed exactly once.
Diffstat (limited to 'Carpet/LoopControl/param.ccl')
-rw-r--r--Carpet/LoopControl/param.ccl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/LoopControl/param.ccl b/Carpet/LoopControl/param.ccl
index 005202538..f5a1fa05f 100644
--- a/Carpet/LoopControl/param.ccl
+++ b/Carpet/LoopControl/param.ccl
@@ -37,7 +37,7 @@ BOOLEAN check_type_sizes "Check that Fortran and C types match"
{
} "yes"
-BOOLEAN do_selftest "Perform some self-tests"
+BOOLEAN do_selftest "Perform (expensive) self-tests in every loop"
{
} "no"