diff options
author | Christian Reisswig <reisswig@scriwalker.(none)> | 2012-09-26 05:04:00 -0700 |
---|---|---|
committer | Christian Reisswig <reisswig@scriwalker.(none)> | 2012-09-26 05:04:00 -0700 |
commit | cec4ff4e2c8765d8a671f9355f68a3fb755517e4 (patch) | |
tree | 8173d942ea14598a141498b8e8bc3b5f989a1bf9 /Carpet/Carpet/src/SetupGH.cc | |
parent | f06c356c722dbf27cd1077dafe51519ba431e99b (diff) |
Introduce parameter "additional_overlap_zones" to control the amount of additional (user-requested) overlap zones.
This is similar to additional_buffer_zones.
Also fixed a bug in reporting the number of overlap zones in stdout. ("buffers" instead of "overlaps") was used.
Diffstat (limited to 'Carpet/Carpet/src/SetupGH.cc')
-rw-r--r-- | Carpet/Carpet/src/SetupGH.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc index caa784077..7372cf948 100644 --- a/Carpet/Carpet/src/SetupGH.cc +++ b/Carpet/Carpet/src/SetupGH.cc @@ -889,10 +889,10 @@ namespace Carpet { rl == 0 ? i2vect (0) : (use_overlap_zones ? - hh.reffacts.AT(rl) / hh.reffacts.AT(rl-1) * ghosts.AT(rl) : + hh.reffacts.AT(rl) / hh.reffacts.AT(rl-1) * (ghosts.AT(rl) + int (additional_overlap_zones)) : i2vect (0)); - cout << " [" << rl << "]: " << buffers.AT(rl) << "\n"; - assert (all (all (buffers.AT(rl) >= 0))); + cout << " [" << rl << "]: " << overlaps.AT(rl) << "\n"; + assert (all (all (overlaps.AT(rl) >= 0))); } cout.precision (oldprecision); cout.setf (oldflags); |