aboutsummaryrefslogtreecommitdiff
path: root/src/NuSurfacer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/NuSurfacer.c')
-rw-r--r--src/NuSurfacer.c4
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;