diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2009-04-26 15:10:14 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2009-04-26 15:10:14 +0200 |
commit | b8bce7eb90cf07d595d3606f065109440f07b0d3 (patch) | |
tree | 20844d557950da9c30222f017efd6a85473da77c | |
parent | 3c2942ac54dfbaf29661d37ee3e8d6e45674a3e5 (diff) |
GenericFD: Define UnitStep function
-rw-r--r-- | Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h index f2134db..6e9ec8c 100644 --- a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h +++ b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h @@ -33,3 +33,4 @@ #define E 2.71828182845904523536029 #define Pi 3.14159265358979323846264 +#define UnitStep(x) ( (x) > 0 ? 1 : 0 ) |