diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2010-09-14 15:58:00 -0500 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:25:24 +0000 |
commit | 4ca66c7c4af87807e02a576c439e34631325fd51 (patch) | |
tree | 122df3e36890b27ad331bb77585e73911301089c /Carpet | |
parent | 287c24768e4fde41e2ac898eb732255cb9acb935 (diff) |
CarpetLib: Correct refluxing in operator restrict_3d_vc_rf2
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc b/Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc index 17ed66218..f59790bf3 100644 --- a/Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc +++ b/Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc @@ -132,8 +132,8 @@ namespace CarpetLib { ivect3 const & restrict srcext, T * restrict const dst, ivect3 const & restrict dstext, - ibbox3 const & restrict srcbbox0, - ibbox3 const & restrict dstbbox0, + ibbox3 const & restrict srcbbox, + ibbox3 const & restrict dstbbox, ibbox3 const & restrict regbbox) { DECLARE_CCTK_PARAMETERS; @@ -147,13 +147,6 @@ namespace CarpetLib { - // Correct bboxes, since the fluxes are stored as if they were - // cell-centered - ibbox const srcbbox = srcbbox0.shift(icent-1,2); - ibbox const dstbbox = dstbbox0.shift(icent-1,2); - - - if (any (srcbbox.stride() >= regbbox.stride() or dstbbox.stride() != regbbox.stride())) { |