diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2011-07-05 12:28:23 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 19:54:46 +0000 |
commit | 911aeb937cd4334c4406e5d115ae9a1a01e0c4e4 (patch) | |
tree | c23ddd5bcf559d7ee37f102dd779b41b0e2b4f6c /Carpet/LoopControl/interface.ccl | |
parent | 5ce764af71f43b21ad94db223058d4ca5896c9fe (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/interface.ccl')
-rw-r--r-- | Carpet/LoopControl/interface.ccl | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Carpet/LoopControl/interface.ccl b/Carpet/LoopControl/interface.ccl index c0362e5fa..8769d737b 100644 --- a/Carpet/LoopControl/interface.ccl +++ b/Carpet/LoopControl/interface.ccl @@ -5,10 +5,3 @@ IMPLEMENTS: LoopControl INCLUDE HEADER: loopcontrol.h IN loopcontrol.h USES INCLUDE HEADER: vectors.h - - - -CCTK_REAL selftest TYPE=gf TAGS='prolongation="none"' -{ - var1 var2 -} "Self-test variables" |