summaryrefslogtreecommitdiff
path: root/src/comm
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-07-04 01:25:29 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-07-04 01:25:29 +0000
commit5890fa36427bdea8efe70079e3cd1e5612312e77 (patch)
tree47d730568fc835f8f37d54728de142c767699f3d /src/comm
parentd9fda6d54df1e6de28a99e812e6c5769e4d9be4a (diff)
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
Diffstat (limited to 'src/comm')
-rw-r--r--src/comm/CactusDefaultComm.c4
1 files changed, 2 insertions, 2 deletions
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 &&