aboutsummaryrefslogtreecommitdiff
path: root/src/ReduceGA.c
diff options
context:
space:
mode:
authoreschnett <eschnett@d60812e6-3970-4df4-986e-c251b06effeb>2012-07-04 01:29:22 +0000
committereschnett <eschnett@d60812e6-3970-4df4-986e-c251b06effeb>2012-07-04 01:29:22 +0000
commit2e15500a6f4763d3bb531f47c4ce8102fd401678 (patch)
tree0e80119bccf6f41379a34d6f4f450f2334c26dd7 /src/ReduceGA.c
parent58e21088bc6d95160321847d7cc1d8339be1289e (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/PUGHReduce/trunk@100 d60812e6-3970-4df4-986e-c251b06effeb
Diffstat (limited to 'src/ReduceGA.c')
-rw-r--r--src/ReduceGA.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ReduceGA.c b/src/ReduceGA.c
index 7ce6a18..98b2890 100644
--- a/src/ReduceGA.c
+++ b/src/ReduceGA.c
@@ -235,8 +235,8 @@ static int ReduceGridArrays (const cGH *GH,
for ( i=0; i < dim; i++)
{
/* get the start- and endpoint to iterate over in this dimension */
- min_array_subscript[i] = GA->extras->ownership[GA->stagger[i]][0][i];
- array_lsh[i] = GA->extras->ownership[GA->stagger[i]][1][i];
+ min_array_subscript[i] = GA->extras->ownership[0][i];
+ array_lsh[i] = GA->extras->ownership[1][i];
input_array_dims[i] = GA->extras->lnsize[i];
}