diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-13 13:09:43 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-13 13:09:43 +0000 |
commit | 9d6d3444c8ee643f8cf9c70eac115944c2f1e7b7 (patch) | |
tree | eb2927a619b01df6c586ca4c4a2f9334fced41dd | |
parent | 1490faef8948e569c3f331309a67082a70238469 (diff) |
remove unused stuff,
change angular FD from 2nd to 4th order
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@502 f88db872-0e4f-0410-b76b-b9085cfa78c5
-rw-r--r-- | src/config.hh | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/src/config.hh b/src/config.hh index efe7e4b..d1bc9f2 100644 --- a/src/config.hh +++ b/src/config.hh @@ -1,31 +1,17 @@ // config.hh -- compile-time configuration for AHFinderDirect // $Id$ -#ifdef CCTK_VARIABLE_REAL - // CCTK_REAL is defined - typedef CCTK_REAL fp; -#else +#ifndef CCTK_VARIABLE_REAL // we must be doing a test compilation outside of Cactus - // FIXME: this is just a hack until my Cactus problem report #725 - // is acted on and Cactus defines these - #define CCTK_REAL_CTYPE_FLOAT 4 - #define CCTK_REAL_CTYPE_DOUBLE 8 - #define CCTK_REAL_CTYPE_LONG_DOUBLE 16 - - typedef double fp; - #define CCTK_REAL_CTYPE CCTK_REAL_CTYPE_DOUBLE -#endif - -// scanf(3) formats for reading fp values -#if (CCTK_REAL_CTYPE == CCTK_REAL_CTYPE_FLOAT) - #define FP_SCANF_FORMAT "%f" -#elif (CCTK_REAL_CTYPE == CCTK_REAL_CTYPE_DOUBLE) - #define FP_SCANF_FORMAT "%lf" -#else - #error "don't know scanf(3) format for this CCTK_REAL!" + typedef double CCTK_REAL; + typedef int CCTK_INT; #endif +typedef CCTK_REAL fp; -// FIXME: another hack +// +// 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 |