aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/dh.cc
diff options
context:
space:
mode:
authorswhite <schnetter@cct.lsu.edu>2004-11-23 16:41:00 +0000
committerswhite <schnetter@cct.lsu.edu>2004-11-23 16:41:00 +0000
commit672c255f47ed7687100f97fcddbebbe4af752653 (patch)
tree5d80020efcd3fbaeb09800cb423dbce3f57e5cdb /Carpet/CarpetLib/src/dh.cc
parent69508f3aa788d94e78d679aec90f90113e072e9d (diff)
dh_decompose_fix
Fixed a crashing bug. Je suis d[_\e9_]sol[_\e9_]. darcs-hash:20041123164102-32473-7746f9871f6e2f58f84825b8eb38416c622f5cb9.gz
Diffstat (limited to 'Carpet/CarpetLib/src/dh.cc')
-rw-r--r--Carpet/CarpetLib/src/dh.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/dh.cc b/Carpet/CarpetLib/src/dh.cc
index 23e1f2923..65401e4e8 100644
--- a/Carpet/CarpetLib/src/dh.cc
+++ b/Carpet/CarpetLib/src/dh.cc
@@ -55,7 +55,7 @@ void dh<D>::recompose (const bool do_prolongate) {
DECLARE_CCTK_PARAMETERS;
CHECKPOINT;
-
+
boxes.clear();
allocate_bboxes();
@@ -230,7 +230,7 @@ void dh<D>::setup_refinement_interior_boxes( dh<D>::dboxes & box, int rl, int c,
// Refinement boxes
if (rl<h.reflevels()-1) {
for (int cc=0; cc<h.components(rl+1); ++cc) {
- dboxes & box1 = boxes.at(rl).at(cc).at(ml);
+ dboxes & box1 = boxes.at(rl+1).at(cc).at(ml);
const ibbox intrf = box1.interior;
// Prolongation (interior)
// TODO: prefer boxes from the same processor