From 25c3818600b7ecb88e94c12193448da4b379cdfb Mon Sep 17 00:00:00 2001 From: Roland Haas Date: Sat, 2 Jun 2012 17:36:04 -0700 Subject: CarpetLib: add preliminary support for higher order restriction --- Carpet/CarpetLib/src/data.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Carpet/CarpetLib/src/data.cc') 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 (src->storage()), + src->shape(), + static_cast (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 (src->storage()), src->shape(), -- cgit v1.2.3