aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorknarf <knarf@cct.lsu.edu>2010-08-26 15:12:10 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:24:07 +0000
commitbc7b514a854c753617557a217602b56076282716 (patch)
tree0a70781e78d4763a58b5da9fff0ac73335f4d1ae /Carpet
parent202c39b383325140bb7690bbb718a78f53d84132 (diff)
CarpetLib: remove re-assignment of all_refined
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetLib/src/dh.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/dh.cc b/Carpet/CarpetLib/src/dh.cc
index a9c5a9b31..c0e00a82f 100644
--- a/Carpet/CarpetLib/src/dh.cc
+++ b/Carpet/CarpetLib/src/dh.cc
@@ -997,7 +997,8 @@ regrid (bool const do_init)
static Carpet::Timer timer_mask ("CarpetLib::dh::regrid::mask");
timer_mask.start();
- // Declare this here to save it for 'unused-mask'
+ // Declare this here to save it for later use. Contains all the boxes
+ // which are active minus the boundary
ibset all_refined;
if (rl > 0) {
@@ -1096,8 +1097,6 @@ regrid (bool const do_init)
full_dboxes const& box = full_level.AT(c);
local_dboxes & local_box = local_level.AT(lc);
- // Subtract the boundaries from the refined region
- all_refined = allactive;
// Set prolongation information for current level
for (int d=0; d<dim; ++d) {
local_box.prolongation_boundaries[d] =