diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:26:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:26:00 +0000 |
commit | 56e9b5fe41a7a44a28987c3ba2f988f1ab98bb1f (patch) | |
tree | 39aefb22ec1d1486a09a4efc2f9120bdbe115b2d /Carpet/CarpetEvolutionMask | |
parent | 3979dbfbddf78925130074f564f907e38628a40f (diff) |
CarpetEvolutionMask: Adapt to region_t changes
darcs-hash:20070112222640-dae7b-0e208231fc8f79957f97db95a6c2094a57edec30.gz
Diffstat (limited to 'Carpet/CarpetEvolutionMask')
-rw-r--r-- | Carpet/CarpetEvolutionMask/src/evolution_mask.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Carpet/CarpetEvolutionMask/src/evolution_mask.cc b/Carpet/CarpetEvolutionMask/src/evolution_mask.cc index b355310f0..2e2cbb0bc 100644 --- a/Carpet/CarpetEvolutionMask/src/evolution_mask.cc +++ b/Carpet/CarpetEvolutionMask/src/evolution_mask.cc @@ -62,16 +62,16 @@ namespace CarpetEvolutionMask { // Calculate the union of all refined regions ibset refined; for (int c=0; c<hh.components(reflevel); ++c) { - ibbox refcomp = hh.extents().at(mglevel).at(reflevel).at(c); - bbvect outer_boundary = hh.outer_boundary(reflevel,c); + ibbox refcomp = hh.extent(mglevel,reflevel,c); + b2vect outer_boundary = hh.outer_boundaries(reflevel,c); ivect expand_right, expand_left; for (int d=0;d<dim;d++) { - if (outer_boundary[d][0]) { + if (outer_boundary[0][d]) { expand_left[d] = 50; } else { expand_left[d] = 0; } - if (outer_boundary[d][1]) { + if (outer_boundary[1][d]) { expand_right[d] = 50; } else { expand_right[d] = 0; @@ -123,7 +123,7 @@ namespace CarpetEvolutionMask { // Calculate the union of all coarse regions ibset parent; for (int c=0; c<hh.components(reflevel-1); ++c) { - parent |= hh.extents().at(mglevel).at(reflevel-1).at(c); + parent |= hh.extent(mglevel,reflevel-1,c); } parent.normalize(); |