aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2011-02-11 15:49:57 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:00 +0000
commitaa0f3c63d45744af4a1a2b829ea5be9b274bf6e8 (patch)
treeae6d5469b6d1f5ea9362c2bb68a1341b7002c13c /Carpet
parent96d2564fd9d74edfedc79dacd1f1fcbf5c31a82d (diff)
CarpetLib: Correct prolongation communication schedule for cell centring
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetLib/src/dh.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/Carpet/CarpetLib/src/dh.cc b/Carpet/CarpetLib/src/dh.cc
index fac1fa8ef..48f91d04e 100644
--- a/Carpet/CarpetLib/src/dh.cc
+++ b/Carpet/CarpetLib/src/dh.cc
@@ -735,14 +735,8 @@ regrid (bool const do_init)
for (int cc = 0; cc < h.components(orl); ++ cc) {
full_dboxes const & obox = full_boxes.AT(ml).AT(orl).AT(cc);
-#if 0
- // untested for cell centering
ibset const expanded_oactive
(obox.active.contracted_for (box.interior).expand (reffact));
-#else
- ibset const expanded_oactive
- (obox.active.expanded_for (box.interior).expand (reffact));
-#endif
ibset const ovlp = needrecv & expanded_oactive;
for (ibset::const_iterator
@@ -886,14 +880,8 @@ regrid (bool const do_init)
for (int cc = 0; cc < h.components(orl); ++ cc) {
full_dboxes const & obox = full_boxes.AT(ml).AT(orl).AT(cc);
-#if 0
- // untested for cell centering
ibset const expanded_oactive
(obox.active.contracted_for (box.interior).expand (reffact));
-#else
- ibset const expanded_oactive
- (obox.active.expanded_for (box.interior).expand (reffact));
-#endif
ibset const ovlp = needrecv & expanded_oactive;
for (ibset::const_iterator