diff options
Diffstat (limited to 'Carpet/CarpetLib/src/prolongate_3d_o3_rf2.cc')
-rw-r--r-- | Carpet/CarpetLib/src/prolongate_3d_o3_rf2.cc | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/Carpet/CarpetLib/src/prolongate_3d_o3_rf2.cc b/Carpet/CarpetLib/src/prolongate_3d_o3_rf2.cc index 7c3c9ebd4..3e9a606ed 100644 --- a/Carpet/CarpetLib/src/prolongate_3d_o3_rf2.cc +++ b/Carpet/CarpetLib/src/prolongate_3d_o3_rf2.cc @@ -440,25 +440,18 @@ namespace CarpetLib { - template - void - prolongate_3d_o3_rf2 (CCTK_REAL const * restrict const src, - ivect3 const & restrict srcext, - CCTK_REAL * restrict const dst, - ivect3 const & restrict dstext, - ibbox3 const & restrict srcbbox, - ibbox3 const & restrict dstbbox, - ibbox3 const & restrict regbbox); - - template - void - prolongate_3d_o3_rf2 (CCTK_COMPLEX const * restrict const src, - ivect3 const & restrict srcext, - CCTK_COMPLEX * restrict const dst, - ivect3 const & restrict dstext, - ibbox3 const & restrict srcbbox, - ibbox3 const & restrict dstbbox, +#define INSTANTIATE(T) \ + template \ + void \ + prolongate_3d_o3_rf2 (T const * restrict const src, \ + ivect3 const & restrict srcext, \ + T * restrict const dst, \ + ivect3 const & restrict dstext, \ + ibbox3 const & restrict srcbbox, \ + ibbox3 const & restrict dstbbox, \ ibbox3 const & restrict regbbox); +#include "instantiate" +#undef INSTANTIATE |