diff options
Diffstat (limited to 'Carpet/CarpetLib/src/prolongate_3d_rf2.cc')
-rw-r--r-- | Carpet/CarpetLib/src/prolongate_3d_rf2.cc | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/Carpet/CarpetLib/src/prolongate_3d_rf2.cc b/Carpet/CarpetLib/src/prolongate_3d_rf2.cc index f36e79ef8..246cbf8a8 100644 --- a/Carpet/CarpetLib/src/prolongate_3d_rf2.cc +++ b/Carpet/CarpetLib/src/prolongate_3d_rf2.cc @@ -465,8 +465,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); + static_assert (ORDER>=0 and ORDER % 2 == 1, "ORDER must be non-negative and odd"); @@ -789,7 +793,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); \ \ template \ void \ @@ -799,7 +805,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); \ \ template \ void \ @@ -809,7 +817,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); \ \ template \ void \ @@ -819,7 +829,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); \ \ template \ void \ @@ -829,7 +841,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); \ \ template \ void \ @@ -839,7 +853,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 |