aboutsummaryrefslogtreecommitdiff
path: root/src/include/config.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/config.hh')
-rw-r--r--src/include/config.hh13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/include/config.hh b/src/include/config.hh
index d1bc9f2..dcbf2c9 100644
--- a/src/include/config.hh
+++ b/src/include/config.hh
@@ -1,13 +1,16 @@
// 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
+//
+// prerequisites:
+// "cctk.h" or "fake_cctk.h"
+//
+
typedef CCTK_REAL fp;
+// FIXME: this assumes fp == C 'double'
+#define FP_SCANF_FORMAT "%lf"
+
//
// The angular finite differencing in our multipatch system can be
// either 2nd order or 4th order, configurable here.