aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Haas <roland.haas@physics.gatech.edu>2013-01-02 15:04:33 -0800
committerRoland Haas <rhaas@tapir.caltech.edu>2013-01-29 09:23:41 -0800
commit023f22093fde49211829752f37b751fd4b31cc6f (patch)
treef2c09c456f9f24c2b17b1d5aa5cf1ac7a4f2dc67
parenta857c18c883613c79f33028ef7ba6636785ebdd6 (diff)
CarpetLib: clear boundary slice offsets in dh::regrid()
this avoids assert() failures when regrid is called on a level that did not change it seems.
-rw-r--r--Carpet/CarpetLib/src/dh.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/dh.cc b/Carpet/CarpetLib/src/dh.cc
index 8b5f779de..9a0c072c2 100644
--- a/Carpet/CarpetLib/src/dh.cc
+++ b/Carpet/CarpetLib/src/dh.cc
@@ -284,6 +284,7 @@ regrid (bool const do_init)
full_mboxes full_boxes;
fast_boxes.clear();
+ local_boxes.clear();