From e18cbfdb7272168dc7ecd765c3c7e7ce752a1f98 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 11 Jan 2012 16:00:56 -0500 Subject: CarpetLib: Extend operator API to allow hyperslabbing Extend API of grid operators and of gdata::copy_from, gdata::transfer_from to allow hyperslabbing Implement hyperslabbing in copy_3d.cc --- Carpet/CarpetLib/src/interpolate_3d_2tl.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Carpet/CarpetLib/src/interpolate_3d_2tl.cc') diff --git a/Carpet/CarpetLib/src/interpolate_3d_2tl.cc b/Carpet/CarpetLib/src/interpolate_3d_2tl.cc index 754b3a48c..9590632ad 100644 --- a/Carpet/CarpetLib/src/interpolate_3d_2tl.cc +++ b/Carpet/CarpetLib/src/interpolate_3d_2tl.cc @@ -41,8 +41,12 @@ namespace CarpetLib { ivect3 const & restrict dstext, ibbox3 const & restrict srcbbox, ibbox3 const & restrict dstbbox, - ibbox3 const & restrict regbbox) + ibbox3 const & restrict, + ibbox3 const & restrict regbbox, + void * extraargs) { + assert (not extraargs); + typedef typename typeprops::real RT; @@ -151,7 +155,9 @@ namespace CarpetLib { ivect3 const & restrict dstext, \ ibbox3 const & restrict srcbbox, \ ibbox3 const & restrict dstbbox, \ - ibbox3 const & restrict regbbox); + ibbox3 const & restrict, \ + ibbox3 const & restrict regbbox, \ + void * extraargs); #include "typecase.hh" #undef TYPECASE -- cgit v1.2.3