diff options
author | allen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2000-02-03 12:05:16 +0000 |
---|---|---|
committer | allen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2000-02-03 12:05:16 +0000 |
commit | 26ec1c84b7caa177cd97df503a790066de86b545 (patch) | |
tree | b7698e4ac02f343a9aaa12095051f39be8948d03 /src/SetupGroup.c | |
parent | 83ceaa6b1cb346e28e45db30170234ddf6902fbb (diff) |
Fixed small bugs in overlap and neighbours for arrays
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@158 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/SetupGroup.c')
-rw-r--r-- | src/SetupGroup.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/SetupGroup.c b/src/SetupGroup.c index de5d508..072a2da 100644 --- a/src/SetupGroup.c +++ b/src/SetupGroup.c @@ -165,7 +165,6 @@ int pugh_SetupArrayGroup int periodic=0; int *nprocs; - int *nghostzones; /* FIXME: Arrays can't have manual set up yet GAB */ nprocs = (int *) malloc(dim*sizeof(int)); @@ -175,13 +174,6 @@ int pugh_SetupArrayGroup } connectivity = pugh_SetupConnectivity(dim,newGH->nprocs,nprocs,periodic); - - /* FIXME: For now default ghostzones 0 for array GAB */ - nghostzones = (int *)malloc(dim*sizeof(int)); - for (i=0;i<dim;i++) - { - nghostzones[i]=0; - } extras = pugh_SetupPGExtras ( @@ -189,14 +181,14 @@ int pugh_SetupArrayGroup periodic, staggercode, nsize, - nghostzones, + ghostsize, newGH->nprocs, connectivity->nprocs, newGH->myproc ); free(nprocs); - free(nghostzones); + /* free(nghostzones);*/ temp = (void ***)realloc (newGH->variables,(newGH->nvariables+n_variables)*sizeof(void **)); |