diff options
author | Roland Haas <roland.haas@physics.gatech.edu> | 2012-06-04 17:50:53 -0700 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:23 +0100 |
commit | 83fed8358fb9660f5f0be67bce0f1ceff03789f3 (patch) | |
tree | 041125a0827f42f8612557bbfad5bd9036c93101 /Carpet/CarpetLib/src/data.cc | |
parent | 88eabaed580e106c50d512393a50b82edc03985d (diff) |
CarpetLib: add fifth order cc restriction operator
Diffstat (limited to 'Carpet/CarpetLib/src/data.cc')
-rw-r--r-- | Carpet/CarpetLib/src/data.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/data.cc b/Carpet/CarpetLib/src/data.cc index ba1a438ce..6268a6e64 100644 --- a/Carpet/CarpetLib/src/data.cc +++ b/Carpet/CarpetLib/src/data.cc @@ -1165,6 +1165,16 @@ transfer_restrict (data const * const src, dstbox, srcregbox, dstregbox, NULL); break; + case 5: + // Don't use call_operator, because we parallelise ourselves + restrict_3d_cc_o5_rf2(static_cast <T const *> (src->storage()), + src->shape(), + static_cast <T *> (this->storage()), + this->shape(), + srcbox, + dstbox, + srcregbox, dstregbox, NULL); + break; default: CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING, "There is no restriction stencil with restriction_order_space==%d", restriction_order_space); |