aboutsummaryrefslogtreecommitdiff
path: root/src/FinishReceiveGA.c
diff options
context:
space:
mode:
authoreschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364>2012-07-04 01:29:14 +0000
committereschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364>2012-07-04 01:29:14 +0000
commitc438704e6d1d796f42f78cd57917c60bd0e951fe (patch)
tree7444e4b0b01dbb171683e6197fd00e66b47e85b4 /src/FinishReceiveGA.c
parentdecf9c65e304089e6bc0c0c32dc5998ae6329b6b (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/arrangements/CactusPUGH/PUGH/trunk@515 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/FinishReceiveGA.c')
-rw-r--r--src/FinishReceiveGA.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FinishReceiveGA.c b/src/FinishReceiveGA.c
index 31b469b..1857fd3 100644
--- a/src/FinishReceiveGA.c
+++ b/src/FinishReceiveGA.c
@@ -10,7 +10,7 @@
@version $Id$
@@*/
-/*#define DEBUG_PUGH*/
+/* #define DEBUG_PUGH 1 */
#include <string.h>
@@ -84,8 +84,8 @@ void FinishReceiveGA(pGH *pughGH, int dir, pComm *comm)
comm->n_vars, GA->name);
#endif
- istart = GA->extras->ghosts[GA->stagger[dir>>1]][0][dir];
- iend = GA->extras->ghosts[GA->stagger[dir>>1]][1][dir];
+ istart = GA->extras->ghosts[0][dir];
+ iend = GA->extras->ghosts[1][dir];
iterator = GA->extras->iterator;
/* set iterator to the start vector */