summaryrefslogtreecommitdiff
path: root/src/comm
diff options
context:
space:
mode:
authorlanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-14 17:08:43 +0000
committerlanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-14 17:08:43 +0000
commitee34490853457942673a2fe2b6c230a2137b93d1 (patch)
tree88d3cec79ec178bc320a41243af6d1378e37a44c /src/comm
parentf919edbed95869369f7f2cb5ba50d0d6f72b9b37 (diff)
using stagger definitions
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1258 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r--src/comm/CactusDefaultComm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c
index c0902b3f..964d6c6a 100644
--- a/src/comm/CactusDefaultComm.c
+++ b/src/comm/CactusDefaultComm.c
@@ -98,7 +98,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
thisGH->cctk_lbnd = (int *)malloc(thisGH->cctk_dim*sizeof(int));
thisGH->cctk_ubnd = (int *)malloc(thisGH->cctk_dim*sizeof(int));
- thisGH->cctk_lssh = (int *)malloc(3*thisGH->cctk_dim*sizeof(int));
+ thisGH->cctk_lssh = (int *)malloc(CCTK_NSTAGGER*thisGH->cctk_dim*sizeof(int));
thisGH->cctk_to = (int *)malloc(thisGH->cctk_dim*sizeof(int));
thisGH->cctk_from = (int *)malloc(thisGH->cctk_dim*sizeof(int));
thisGH->cctk_bbox = (int *)malloc(2*thisGH->cctk_dim*sizeof(int));