diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2010-02-13 18:33:30 -0600 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 16:45:26 +0000 |
commit | 3b52b3721d634461b2d3840db16735b78a4a8cad (patch) | |
tree | bf192abc623573e7124f3810a7336d1f85fe3c54 /Carpet/CarpetLib/src/interpolate_3d_3tl.cc | |
parent | 23a591ba88475bf0842257215f04c9f76a1c3fc4 (diff) |
Combine CarpetLib's INSTANTIATE and Carpet's TYPECASE mechanism into a
single mechanism provided by CarpetLib.
Use this mechanism everywhere.
Diffstat (limited to 'Carpet/CarpetLib/src/interpolate_3d_3tl.cc')
-rw-r--r-- | Carpet/CarpetLib/src/interpolate_3d_3tl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/interpolate_3d_3tl.cc b/Carpet/CarpetLib/src/interpolate_3d_3tl.cc index 150fdec0f..41762727b 100644 --- a/Carpet/CarpetLib/src/interpolate_3d_3tl.cc +++ b/Carpet/CarpetLib/src/interpolate_3d_3tl.cc @@ -142,7 +142,7 @@ namespace CarpetLib { -#define INSTANTIATE(T) \ +#define TYPECASE(N,T) \ template \ void \ interpolate_3d_3tl (T const * restrict const src1, \ @@ -158,8 +158,8 @@ namespace CarpetLib { ibbox3 const & restrict srcbbox, \ ibbox3 const & restrict dstbbox, \ ibbox3 const & restrict regbbox); -#include "instantiate" -#undef INSTANTIATE +#include "typecase.hh" +#undef TYPECASE |