diff options
Diffstat (limited to 'src/Comm.c')
-rw-r--r-- | src/Comm.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -8,7 +8,7 @@ @version $Id$ @@*/ -/*#define DEBUG_PUGH 1*/ +/* #define DEBUG_PUGH 1 */ #include <stdlib.h> #include <stdio.h> @@ -1098,15 +1098,15 @@ static int PUGH_SyncSingleProc(pGH *pughGH, pComm *comm) if (pass_to > pass_total) pass_to = pass_total; /* get the index ranges for the nested loops */ - istart_from = GA->extras->overlap[GA->stagger[face>>1]][0][face]; - iend_from = GA->extras->overlap[GA->stagger[face>>1]][1][face]; + istart_from = GA->extras->overlap[0][face]; + iend_from = GA->extras->overlap[1][face]; if (face & 1) { - istart_to = GA->extras->ghosts[GA->stagger[face>>1]][0][face - 1]; + istart_to = GA->extras->ghosts[0][face - 1]; } else { - istart_to = GA->extras->ghosts[GA->stagger[face>>1]][0][face + 1]; + istart_to = GA->extras->ghosts[0][face + 1]; } /* set iterators to the start vector */ |