From 5890fa36427bdea8efe70079e3cd1e5612312e77 Mon Sep 17 00:00:00 2001 From: eschnett Date: Wed, 4 Jul 2012 01:25:29 +0000 Subject: Introduce cctk_ash, retire cctk_lssh Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4841 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/comm/CactusDefaultComm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/comm') diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c index 1cbc82e3..b3d341c9 100644 --- a/src/comm/CactusDefaultComm.c +++ b/src/comm/CactusDefaultComm.c @@ -171,7 +171,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level) thisGH->cctk_lbnd = malloc(cctk_dim*sizeof(int)); thisGH->cctk_ubnd = malloc(cctk_dim*sizeof(int)); - thisGH->cctk_lssh = malloc(CCTK_NSTAGGER*cctk_dim*sizeof(int)); + thisGH->cctk_ash = malloc(cctk_dim*sizeof(int)); thisGH->cctk_to = malloc(cctk_dim*sizeof(int)); thisGH->cctk_from = malloc(cctk_dim*sizeof(int)); thisGH->cctk_bbox = malloc(2*cctk_dim*sizeof(int)); @@ -221,7 +221,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level) thisGH->cctk_lsh && thisGH->cctk_lbnd && thisGH->cctk_ubnd && - thisGH->cctk_lssh && + thisGH->cctk_ash && thisGH->cctk_from && thisGH->cctk_to && thisGH->cctk_bbox && -- cgit v1.2.3