aboutsummaryrefslogtreecommitdiff
path: root/Auxiliary/Cactus
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2011-10-13 02:23:48 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2011-10-13 02:23:48 +0200
commitf9f02fa939936abef62339f26d95ac198c2117dd (patch)
tree3c27baa19a75f098f0994f588c55be0112fe687c /Auxiliary/Cactus
parent0fb294ad53a12af753ec91cf903c55f10fe70395 (diff)
MathematicaCompat.h: Add Csch function
Diffstat (limited to 'Auxiliary/Cactus')
-rw-r--r--Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h
index de93c51..25ec32c 100644
--- a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h
+++ b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h
@@ -30,6 +30,8 @@
#define Cosh(x) (cosh(x))
#define Tanh(x) (tanh(x))
+#define Csch(x) (1./sinh(x))
+
#ifdef KRANC_C
# define Sign(x) (copysign(1.0,(x)))
# define ToReal(x) ((CCTK_REAL)(x))