diff options
author | eschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2012-07-04 01:29:14 +0000 |
---|---|---|
committer | eschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2012-07-04 01:29:14 +0000 |
commit | c438704e6d1d796f42f78cd57917c60bd0e951fe (patch) | |
tree | 7444e4b0b01dbb171683e6197fd00e66b47e85b4 /src/PostReceiveGA.c | |
parent | decf9c65e304089e6bc0c0c32dc5998ae6329b6b (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/PostReceiveGA.c')
-rw-r--r-- | src/PostReceiveGA.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/PostReceiveGA.c b/src/PostReceiveGA.c index ad4d24e..c8b4641 100644 --- a/src/PostReceiveGA.c +++ b/src/PostReceiveGA.c @@ -10,6 +10,8 @@ @version $Header$ @@*/ +/* #define DEBUG_PUGH 1 */ + #include <stdio.h> #include "pugh.h" @@ -18,8 +20,6 @@ static const char *rcsid = "$Header$"; CCTK_FILEVERSION(CactusPUGH_PUGH_PostReceiveGA_c); -/*#define DEBUG_PUGH*/ - #ifdef CCTK_MPI @@ -102,19 +102,19 @@ void PostReceiveGA(pGH *pughGH, int dir, pComm *comm) switch (GA->vtype) { case CCTK_VARIABLE_BYTE: - recv_dt = pughGH->recv_char_dt[GA->stagger[dir>>1]]; + recv_dt = pughGH->recv_char_dt; break; case CCTK_VARIABLE_INT: - recv_dt = pughGH->recv_int_dt[GA->stagger[dir>>1]]; + recv_dt = pughGH->recv_int_dt; break; case CCTK_VARIABLE_REAL: - recv_dt = pughGH->recv_real_dt[GA->stagger[dir>>1]]; + recv_dt = pughGH->recv_real_dt; break; case CCTK_VARIABLE_COMPLEX: - recv_dt = pughGH->recv_complex_dt[GA->stagger[dir>>1]]; + recv_dt = pughGH->recv_complex_dt; break; default: |