aboutsummaryrefslogtreecommitdiff
path: root/src/Comm.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/Comm.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/Comm.c')
-rw-r--r--src/Comm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Comm.c b/src/Comm.c
index 792882e..10aa26b 100644
--- a/src/Comm.c
+++ b/src/Comm.c
@@ -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 */