diff options
author | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2001-06-14 12:57:23 +0000 |
---|---|---|
committer | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2001-06-14 12:57:23 +0000 |
commit | f14c1dc24715f982cb36ff9cf8624e06df5f7e5b (patch) | |
tree | 981252da4bd5fc124731f0a197b8708f59e6d8e6 /src/NuSurfacer.c | |
parent | 1aeea4170532a2b2f1c6cc5f030fb890af614cbd (diff) |
Fixed compiler warnings and the problem with 'char * = const char *' assignments
which didn't compile on a T3E.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@49 bfcf8e34-485d-4d46-a995-1fd6fa6fb178
Diffstat (limited to 'src/NuSurfacer.c')
-rw-r--r-- | src/NuSurfacer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/NuSurfacer.c b/src/NuSurfacer.c index f7a0870..d8377f1 100644 --- a/src/NuSurfacer.c +++ b/src/NuSurfacer.c @@ -412,6 +412,7 @@ static int cellOffset[8]={0,0,0,0,0,0,0,0}; 6 = 1+ GH->cctk_lsh [0] + GH->cctk_lsh [0]*GH->cctk_lsh [1] 7 = GH->cctk_lsh [0] + GH->cctk_lsh [0]*GH->cctk_lsh [1] */ +void InitCellArrays(int nx,int ny); static int isoCellOffset[12]={0,0,0,0, /* -zy,-z,-z,-zx, */ 0,0,0,0, /* -y,0,0,-x, */ 0,0,0,0};/* -yx,-y,-x,0 */ @@ -421,7 +422,7 @@ static int isoCellVindex[12]={1,0,1,0, /* cell vector orientation? */ -void InitCellArrays(nx,ny){ +void InitCellArrays(int nx,int ny){ int i,j; int ix=1,iy=nx,iz=nx*ny; cellslice = New(IsoCell,2*nx*ny); /* 2 slices */ @@ -456,7 +457,6 @@ void NuFindSurface(CCTK_REAL *data, TRIANGLE_CASES *triCase; EDGE_LIST *edge; int i,j,k,imax,jmax,kmax; - int timelevel; int idx,nverts=0; /* vertex and triangle counters for offsets */ int slicesize,slicemodulo; |