aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2003-01-29 14:21:06 +0000
committerjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2003-01-29 14:21:06 +0000
commit772098878facd280e95ac19e4fb8794000c32d5c (patch)
tree14336119e8c94bbd991a88a04606c832f3ffa4e5 /src
parent1e1d195e8148ec50b9ff287139322ad135d84d0b (diff)
remove some unused variables left in by mistake
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@126 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src')
-rw-r--r--src/GeneralizedPolynomial-Uniform/template.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/template.c b/src/GeneralizedPolynomial-Uniform/template.c
index a567119..7cb8d72 100644
--- a/src/GeneralizedPolynomial-Uniform/template.c
+++ b/src/GeneralizedPolynomial-Uniform/template.c
@@ -703,30 +703,24 @@ int out;
*/
{
#if N_DIMS >= 1
- const fp origin_x = coord_origin[X_AXIS];
- const fp delta_x = coord_delta[X_AXIS];
#if defined(HAVE_OP_DX) \
|| defined(HAVE_OP_DXY) || defined(HAVE_OP_DXZ) \
|| defined(HAVE_OP_DXX)
- const fp inverse_dx = 1.0 / delta_x;
+ const fp inverse_dx = 1.0 / coord_delta[X_AXIS];
#endif
#endif
#if N_DIMS >= 2
- const fp origin_y = coord_origin[Y_AXIS];
- const fp delta_y = coord_delta[Y_AXIS];
#if defined(HAVE_OP_DY) \
|| defined(HAVE_OP_DXY) || defined(HAVE_OP_DYZ) \
|| defined(HAVE_OP_DYY)
- const fp inverse_dy = 1.0 / delta_y;
+ const fp inverse_dy = 1.0 / coord_delta[Y_AXIS];
#endif
#endif
#if N_DIMS >= 3
- const fp origin_z = coord_origin[Z_AXIS];
- const fp delta_z = coord_delta[Z_AXIS];
#if defined(HAVE_OP_DZ) \
|| defined(HAVE_OP_DXZ) || defined(HAVE_OP_DYZ) \
|| defined(HAVE_OP_DZZ)
- const fp inverse_dz = 1.0 / delta_z;
+ const fp inverse_dz = 1.0 / coord_delta[Z_AXIS];
#endif
#endif
#if (N_DIMS > 3)