aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@eec4d7dc-71c2-46d6-addf-10296150bf52>2005-06-01 19:48:55 +0000
committerschnetter <schnetter@eec4d7dc-71c2-46d6-addf-10296150bf52>2005-06-01 19:48:55 +0000
commitf4b4893fd942d5527c268ee738fc79d7d66bda36 (patch)
tree8c95079d3f6ac6f5126079235be10b06962be326
parent55377f0d42a931cba25c97977a70c90f0095dedf (diff)
Remove unused code.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@92 eec4d7dc-71c2-46d6-addf-10296150bf52
-rw-r--r--src/Cartoon2DBC.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/Cartoon2DBC.c b/src/Cartoon2DBC.c
index 6f72d87..be5fb9e 100644
--- a/src/Cartoon2DBC.c
+++ b/src/Cartoon2DBC.c
@@ -81,8 +81,6 @@ int BndCartoon2DVI(const cGH *cctkGH, int tensortype, int prolongtype, int vi)
cGH *non_const_ptr;
} GH_fake_const;
-/* static int xindx=-1; */
-
char * groupname;
int i, j, k, di, dj, ijk;
@@ -91,7 +89,6 @@ int BndCartoon2DVI(const cGH *cctkGH, int tensortype, int prolongtype, int vi)
int gi, var0;
int n_vars;
int timelevel;
-/* CCTK_REAL *xp; */
CCTK_REAL x, y, rho;
CCTK_REAL lx0, dx0, dy0;
CCTK_REAL rxx, rxy, ryx, ryy;
@@ -151,18 +148,6 @@ int BndCartoon2DVI(const cGH *cctkGH, int tensortype, int prolongtype, int vi)
lnz = cctkGH->cctk_lsh[2];
ny = cctkGH->cctk_gsh[1];
- /*
- xindx = (xindx<0)?CCTK_CoordIndex(-1,"x","cart3d"):xindx;
- xp = cctkGH->data[xindx][0];
- */
-
- /* xp = GH->data[CCTK_CoordIndex(-1,"x","cart3d")][0];*/
- /*
- lx0 = xp[0];
- dx0 = cctkGH->cctk_delta_space[0]/cctkGH->cctk_levfac[0];
- dy0 = cctkGH->cctk_delta_space[1]/cctkGH->cctk_levfac[1];
- */
-
dx0 = CCTK_DELTA_SPACE(0);
dy0 = CCTK_DELTA_SPACE(1);
lx0 = CCTK_ORIGIN_SPACE(0) + dx0 * cctk_lbnd[0];
@@ -360,29 +345,13 @@ static CCTK_REAL Cartoon2DInterp(const cGH *cctkGH, CCTK_REAL *f,
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
-/* static int xindx=-1; */
-
CCTK_REAL x0;
CCTK_REAL lx0, dx0;
CCTK_REAL y[6], r;
-/* CCTK_REAL *xp; */
int lnx;
int n, offset;
- (void) (di + 0);
-
lnx = cctkGH->cctk_lsh[0];
-
- /*
- xindx = (xindx<0)?CCTK_CoordIndex(-1,"x","cart3d"):xindx;
- xp = cctkGH->data[xindx][0];
- */
-
-/* xp = GH->data[CCTK_CoordIndex(-1,"x","cart3d")][0];*/
-/*
- lx0 = xp[0];
- dx0 = cctkGH->cctk_delta_space[0]/cctkGH->cctk_levfac[0];
-*/
dx0 = CCTK_DELTA_SPACE(0);
lx0 = CCTK_ORIGIN_SPACE(0) + dx0 * cctk_lbnd[0];
@@ -425,12 +394,9 @@ static CCTK_REAL Cartoon2DInterp_ENO(const cGH *cctkGH,
DECLARE_CCTK_PARAMETERS;
DECLARE_CCTK_ARGUMENTS;
-/* static int xindx=-1; */
-
CCTK_REAL x0;
CCTK_REAL lx0, dx0;
CCTK_REAL y[5], r;
-/* CCTK_REAL *xp; */
int lnx;
int n, offset;