next up previous contents
Next: Implementation notes Up: class Group Previous: Related functions

Examples

  int shp [2] = {2, 2} ;
  Procs p(2, shp) ;

  Coord c(p.dim(0), 0), d(p.dim(1), 1) ;

  Group q = p / c ;
  Group r = q / d ;

  figure7518
Figure 2.1:  Examples of process groups. The square boxes represent the 4 processes in the process array p. The dashed lines embrace groups p, q and r.

These groups are illustrated in figure 2.1. The dimension set of q contains just p.dim(1), and dimension set of r is empty.



Guansong Zhang
Fri Oct 9 12:29:23 EDT 1998