diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-22 18:35:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-22 18:35:00 +0000 |
commit | e116da97c1cf7c7f7294bf25929be29f3cf82098 (patch) | |
tree | 9c11647b9aebc89be8ded0fd7dc2e0b91fda875d /Carpet/CarpetLib/src | |
parent | ef343a0e6640adaee2442e7243f8096cd83a11bc (diff) |
CarpetLib: Allow disabling complex numbers when instantiating
darcs-hash:20070222183531-dae7b-25786a2e298ad3426ace21e3b428506b68f7e43a.gz
Diffstat (limited to 'Carpet/CarpetLib/src')
-rw-r--r-- | Carpet/CarpetLib/src/instantiate | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Carpet/CarpetLib/src/instantiate b/Carpet/CarpetLib/src/instantiate index 047adc12c..788211f2f 100644 --- a/Carpet/CarpetLib/src/instantiate +++ b/Carpet/CarpetLib/src/instantiate @@ -159,18 +159,20 @@ INSTANTIATE(CCTK_REAL16) # endif #endif -#ifdef CARPET_COMPLEX8 -# ifdef HAVE_CCTK_COMPLEX8 +#ifndef CARPET_NO_COMPLEX +# ifdef CARPET_COMPLEX8 +# ifdef HAVE_CCTK_COMPLEX8 INSTANTIATE(CCTK_COMPLEX8) +# endif # endif -#endif -#ifdef CARPET_COMPLEX16 -# ifdef HAVE_CCTK_COMPLEX16 +# ifdef CARPET_COMPLEX16 +# ifdef HAVE_CCTK_COMPLEX16 INSTANTIATE(CCTK_COMPLEX16) +# endif # endif -#endif -#ifdef CARPET_COMPLEX32 -# ifdef HAVE_CCTK_COMPLEX32 +# ifdef CARPET_COMPLEX32 +# ifdef HAVE_CCTK_COMPLEX32 INSTANTIATE(CCTK_COMPLEX32) +# endif # endif #endif |