diff options
author | knarf@cct.lsu.edu <knarf@cct.lsu.edu> | 2010-08-26 15:12:10 -0400 |
---|---|---|
committer | knarf@cct.lsu.edu <knarf@cct.lsu.edu> | 2010-08-26 15:12:10 -0400 |
commit | 799e21715cc716122bf96a40146f27ab19743d5d (patch) | |
tree | 390c6ccf502dfd031951e2b18e8d479701760d31 /Carpet/CarpetLib | |
parent | 6e98b81382a2314f1585ed555621f3b115de225e (diff) |
CarpetLib: remove re-assignment of all_refined
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r-- | Carpet/CarpetLib/src/dh.cc | 5 |
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] = |