From c438704e6d1d796f42f78cd57917c60bd0e951fe Mon Sep 17 00:00:00 2001 From: eschnett Date: Wed, 4 Jul 2012 01:29:14 +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/arrangements/CactusPUGH/PUGH/trunk@515 b61c5cb5-eaca-4651-9a7a-d64986f99364 --- src/PostReceiveGA.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/PostReceiveGA.c') 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 #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: -- cgit v1.2.3