The scheme for translating array sections when scalar subscripts appear in some distributed dimension is illustrated in Figure A.29.

We add two new cases for the definition of the macro
*PROCESS_SUBSCRIPTS*. These new definitions apply only
if the th dimension of has the distributed attribute.

If, under these conditions,
is the integer
expression , then

where and are the names of new temporaries, , and . Otherwise, if is a distributed index or a shifted index , then

where the macro

Bryan Carpenter 2003-04-15