next up previous contents
Next: class CyclicRange Up: class BlockRange Previous: class BlockRange

Constructors

BlockRange(const int extent, Dimension dim)
Creates a block-distributed range of extent extent and kernel dim. The block size is

  (extent + dim.size() - 1) / dim.size()

The constructed range is a template range.

BlockRange(const int extent, Dimension dim,
           const int wlo, const int whi)
Similar to the constructor above, but arrays constructed with this range (or its subranges) have ghost regions of width wlo, whi at the upper and lower edges of each block of the range.



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