aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/data.cc
diff options
context:
space:
mode:
authorRoland Haas <roland.haas@physics.gatech.edu>2012-06-02 17:36:04 -0700
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:22 +0100
commit7ebd620a45f689e1e96831dc1963669d32fe44a3 (patch)
tree1d4f533d0c280d2ed7f14d461c40e8db827f89fb /Carpet/CarpetLib/src/data.cc
parentf8631186ea6e25bbe375d94dc8b78bb33f318267 (diff)
CarpetLib: add preliminary support for higher order restriction
Diffstat (limited to 'Carpet/CarpetLib/src/data.cc')
-rw-r--r--Carpet/CarpetLib/src/data.cc13
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(),