aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-02-18 19:08:14 -0500
committerErik Schnetter <schnetter@gmail.com>2013-02-18 19:08:14 -0500
commit9b0294c709eaeb505834bc7ea2121abfdfb0e735 (patch)
tree5f086bf07673b1301b0142d03d082a6394a3fa0e /Carpet
parentb76cef142fbb3f2a284b14404064cde1d2eddba5 (diff)
CarpetLib: Correct implementation of "don't interpolate from buffer zones"
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetLib/src/gh.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/CarpetLib/src/gh.cc b/Carpet/CarpetLib/src/gh.cc
index 545d5fc33..3659f977c 100644
--- a/Carpet/CarpetLib/src/gh.cc
+++ b/Carpet/CarpetLib/src/gh.cc
@@ -466,8 +466,8 @@ locate_position (rvect const & rpos,
// Ignore this level if this point is not in the active region
// (i.e. if it is a buffer point or similar)
- if (not interpolate_from_buffer_zones and
- not dd.level_boxes.AT(ml).AT(rl).active.contains(aligned_ipos))
+ if (not interpolate_from_buffer_zones and
+ dd.level_boxes.AT(ml).AT(rl).buffers.contains(aligned_ipos))
{
continue;
}
@@ -527,8 +527,8 @@ locate_position (ivect const & ipos,
// Ignore this level if this point is not in the active region
// (i.e. if it is a buffer point or similar)
- if (not interpolate_from_buffer_zones and
- not dd.level_boxes.AT(ml).AT(rl).active.contains(aligned_ipos))
+ if (not interpolate_from_buffer_zones and
+ dd.level_boxes.AT(ml).AT(rl).buffers.contains(aligned_ipos))
{
continue;
}