aboutsummaryrefslogtreecommitdiff
path: root/src/TP_utilities.h
diff options
context:
space:
mode:
authorschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2005-11-21 02:31:31 +0000
committerschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2005-11-21 02:31:31 +0000
commit485e9c9b985ebee47f65c0f5cd604f1b5027ad5c (patch)
tree4a95a111ef518b8d8034ab3b3d9246c9437387d2 /src/TP_utilities.h
parent901b0cb0da9e0c2c34147c5ecd5bdb6aef742f9b (diff)
Do not define asinh, acosh, and atanh. The compiler usually already
knows these, and defining them again can lead to errors. If these are now undefined on some systems, then we have to re-introduce them with modified names. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@47 b2a53a04-0f4f-0410-87ed-f9f25ced00cf
Diffstat (limited to 'src/TP_utilities.h')
-rw-r--r--src/TP_utilities.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/TP_utilities.h b/src/TP_utilities.h
index a0c23a3..fb05cb2 100644
--- a/src/TP_utilities.h
+++ b/src/TP_utilities.h
@@ -1,5 +1,7 @@
/* TwoPunctures: File "utilities.h"*/
+#include <math.h>
+
#define Pi 3.14159265358979323846264338328
#define Pih 1.57079632679489661923132169164 /* Pi/2*/
#define Piq 0.78539816339744830961566084582 /* Pi/4*/
@@ -45,9 +47,11 @@ int minimum3 (int i, int j, int k);
int maximum2 (int i, int j);
int maximum3 (int i, int j, int k);
int pow_int (int mantisse, int exponent);
+#if 0
double atanh (double x);
double asinh (double x);
double acosh (double x);
+#endif
dcomplex Cadd (dcomplex a, dcomplex b);
dcomplex Csub (dcomplex a, dcomplex b);