BlockDim¶
Usage
use BlockDim;
or
import BlockDim;
Warning
BlockDim is intended for use with DimensionalDist2D, which is unstable
- record BlockDim¶
This Block dimension specifier is for use with the
dimensionalDist2D
distribution.It specifies the mapping of indices in its dimension that would be produced by a 1D
blockDist
distribution.Initializer Arguments
The following
BlockDim
record initializers are available:proc BlockDim.init( numLocales, boundingBoxLow, boundingBoxHigh, type idxType = boundingBoxLow.type) proc BlockDim.init( numLocales: int, boundingBox: range(?), type idxType = boundingBox.idxType)
The
numLocales
argument specifies the number of locales that this dimension’s bounding box is to be distributed over.The
boundingBoxLow
andboundingBoxHigh
arguments are a convenient replacement for theboundingBox
argument, which specifies the bounding box in this dimension.The
idxType
, whether provided or inferred, must match the index type of the domains created using the correspondingdimensionalDist2D
distribution.