aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2009-10-05 13:47:06 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 16:45:11 +0000
commitab5f214316eb015f5508bf4f527d342c23009709 (patch)
treefc75e780b4e58b6bf12fd199b3f364b2e959d567 /Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
parente7a09f1868e5a4d9403fe579a857da338bae93a2 (diff)
CarpetLib: Improve OpenMP parallelisation
Ensure that there is exactly one OpenMP parallelisation for each operator. Improve the prolongation operator parallellisation method by splitting along the direction of longest extent, not always in the z direction. Use LoopControl for copy, restriction, and time interpolation operators instead of explicit OpenMP directives.
Diffstat (limited to 'Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc')
-rw-r--r--Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc b/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
index c2f89ae4d..ee9d246cb 100644
--- a/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
+++ b/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
@@ -114,7 +114,6 @@ namespace CarpetLib {
// Loop over coarse region
-#pragma omp parallel for
for (int k=0; k<regkext; ++k) {
for (int j=0; j<regjext; ++j) {
for (int i=0; i<regiext; ++i) {