diff options
author | Roland Haas <roland.haas@physics.gatech.edu> | 2012-06-02 17:36:04 -0700 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:22 +0100 |
commit | 7ebd620a45f689e1e96831dc1963669d32fe44a3 (patch) | |
tree | 1d4f533d0c280d2ed7f14d461c40e8db827f89fb /Carpet/CarpetLib/src/data.cc | |
parent | f8631186ea6e25bbe375d94dc8b78bb33f318267 (diff) |
CarpetLib: add preliminary support for higher order restriction
Diffstat (limited to 'Carpet/CarpetLib/src/data.cc')
-rw-r--r-- | Carpet/CarpetLib/src/data.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/data.cc b/Carpet/CarpetLib/src/data.cc index 4a0c53e45..9a26eec8a 100644 --- a/Carpet/CarpetLib/src/data.cc +++ b/Carpet/CarpetLib/src/data.cc @@ -1141,6 +1141,19 @@ transfer_restrict (data const * const src, srcregbox, dstregbox, NULL); break; } + if (use_cc_o3 and + transport_operator != op_WENO and + transport_operator != op_ENO) { // HACK + // Don't use call_operator, because we parallelise ourselves + restrict_3d_cc_o3_rf2(static_cast <T const *> (src->storage()), + src->shape(), + static_cast <T *> (this->storage()), + this->shape(), + srcbox, + dstbox, + srcregbox, dstregbox, NULL); + break; + } // Don't use call_operator, because we parallelise ourselves restrict_3d_cc_rf2(static_cast <T const *> (src->storage()), src->shape(), |