diff options
author | Steve Brandt <sbrandt@sbrandt-think.cct.lsu.edu> | 2012-05-03 16:23:20 -0500 |
---|---|---|
committer | Steve Brandt <sbrandt@sbrandt-think.cct.lsu.edu> | 2012-05-03 16:23:20 -0500 |
commit | 74dbb92ec39325a4a73a2b508ffc291521b92e5e (patch) | |
tree | 68e057642ed885ef89e110be87a991e3cd4cedf3 /Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c | |
parent | 3994abad3de76227fb94e324d7b0d2599a61bcf1 (diff) | |
parent | 56a871e790cff27e8e971ccbe48ff3954c66ee54 (diff) |
Merge branch 'master' of github.com:ianhinder/Kranc
Diffstat (limited to 'Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c')
-rw-r--r-- | Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c index 1bd1a61..023e6e8 100644 --- a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c +++ b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c @@ -49,16 +49,6 @@ /* TODO: provide functions for differencing, use FD macros to evaluate corresponding functions */ -int sgn(CCTK_REAL x) -{ - if (x < 0) - return -1; - else if (x > 0) - return 1; - else - return 0; -} - void GenericFD_GetBoundaryWidths(cGH const * restrict const cctkGH, int nboundaryzones[6]) { int is_internal[6]; |