diff options
Diffstat (limited to 'src/include/config.hh')
-rw-r--r-- | src/include/config.hh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/config.hh b/src/include/config.hh new file mode 100644 index 0000000..d1bc9f2 --- /dev/null +++ b/src/include/config.hh @@ -0,0 +1,19 @@ +// config.hh -- compile-time configuration for AHFinderDirect +// $Id$ + +#ifndef CCTK_VARIABLE_REAL + // we must be doing a test compilation outside of Cactus + typedef double CCTK_REAL; + typedef int CCTK_INT; +#endif +typedef CCTK_REAL fp; + +// +// The angular finite differencing in our multipatch system can be +// either 2nd order or 4th order, configurable here. +// +#ifdef FINITE_DIFF_ORDER + // someone (probably a Makefile) has already defined this ==> leave it alone +#else + #define FINITE_DIFF_ORDER 4 +#endif |