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/prolongate_3d_o5_monotone_rf2.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/prolongate_3d_o5_monotone_rf2.cc')
-rw-r--r-- | Carpet/CarpetLib/src/prolongate_3d_o5_monotone_rf2.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/prolongate_3d_o5_monotone_rf2.cc b/Carpet/CarpetLib/src/prolongate_3d_o5_monotone_rf2.cc index 9ac0b2f7e..0cff2b8a0 100644 --- a/Carpet/CarpetLib/src/prolongate_3d_o5_monotone_rf2.cc +++ b/Carpet/CarpetLib/src/prolongate_3d_o5_monotone_rf2.cc @@ -819,7 +819,7 @@ namespace CarpetLib { -#define INSTANTIATE(T) \ +#define TYPECASE(N,T) \ template \ void \ prolongate_3d_o5_monotone_rf2 (T const * restrict const src, \ @@ -830,9 +830,9 @@ namespace CarpetLib { ibbox3 const & restrict dstbbox, \ ibbox3 const & restrict regbbox); #define CARPET_NO_COMPLEX -#include "instantiate" +#include "typecase.hh" #undef CARPET_NO_COMPLEX -#undef INSTANTIATE +#undef TYPECASE template <> void |