diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-02-18 19:08:14 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-02-18 19:08:14 -0500 |
commit | 9b0294c709eaeb505834bc7ea2121abfdfb0e735 (patch) | |
tree | 5f086bf07673b1301b0142d03d082a6394a3fa0e /Carpet | |
parent | b76cef142fbb3f2a284b14404064cde1d2eddba5 (diff) |
CarpetLib: Correct implementation of "don't interpolate from buffer zones"
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetLib/src/gh.cc | 8 |
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; } |