aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/ggf.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2010-04-27 10:06:38 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 16:45:44 +0000
commitb8122d9f7178636244252914888ec665180002f6 (patch)
tree4f4aabf271b0653f6890c7ced3f290bb876a3db9 /Carpet/CarpetLib/src/ggf.cc
parent71fd47ff53016b6a5c142b5eb485786a90f58472 (diff)
CarpetLib: Restructure dh classes
- Add new entries for the CarpetRegrid mask and for refluxing - Rename dboxes to light_dboxes. - Add local_dboxes with more information about the process-local part of the grid hierarchy.
Diffstat (limited to 'Carpet/CarpetLib/src/ggf.cc')
-rw-r--r--Carpet/CarpetLib/src/ggf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/ggf.cc b/Carpet/CarpetLib/src/ggf.cc
index 8a7c643da..02b90bc38 100644
--- a/Carpet/CarpetLib/src/ggf.cc
+++ b/Carpet/CarpetLib/src/ggf.cc
@@ -93,7 +93,7 @@ void ggf::set_timelevels (const int ml, const int rl, const int new_timelevels)
for (int tl=timelevels(ml,rl); tl<new_timelevels; ++tl) {
storage.AT(ml).AT(rl).AT(lc).AT(tl) = typed_data(tl,rl,lc,ml);
storage.AT(ml).AT(rl).AT(lc).AT(tl)->allocate
- (d.boxes.AT(ml).AT(rl).AT(c).exterior, dist::rank());
+ (d.light_boxes.AT(ml).AT(rl).AT(c).exterior, dist::rank());
} // for tl
} // for lc
@@ -157,7 +157,7 @@ void ggf::recompose_allocate (const int rl)
for (int tl=0; tl<timelevels(ml,rl); ++tl) {
storage.AT(ml).AT(rl).AT(lc).AT(tl) = typed_data(tl,rl,lc,ml);
storage.AT(ml).AT(rl).AT(lc).AT(tl)->allocate
- (d.boxes.AT(ml).AT(rl).AT(c).exterior, dist::rank());
+ (d.light_boxes.AT(ml).AT(rl).AT(c).exterior, dist::rank());
} // for tl
} // for lc
} // for ml