next up previous contents index
Next: Translating global index expression Up: Basic translation Previous: Translating at constructs   Contents   Index

Translating overall constructs

A translation for the overall construct is given in Figure A.19. The localBlock() method and the Block class have been discussed at length in section 7.3.

The variables $\mbox{\it shf}$, $\mbox{\it dim}$, $\mbox{\it sub}$ and $\mbox{\it glb}$ play the same roles as the correspondingly named variables in the translation of the at construct.

If the process dimension dim is not an active dimension of apg at the time the method restrict() is invoked, it will throw a DimensionNotInGroupException.

Figure A.20: Translation of global index for $i$.
e & \equiv & i\verb$\lq $
...obal index variable for the index $i$.}

Bryan Carpenter 2003-04-15