From f9f02fa939936abef62339f26d95ac198c2117dd Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Thu, 13 Oct 2011 02:23:48 +0200 Subject: MathematicaCompat.h: Add Csch function --- Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Auxiliary/Cactus') 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)) -- cgit v1.2.3