mpi_array.distribution.GlobaleExtent.__init__¶
-
GlobaleExtent.__init__(slice=None, start=None, stop=None, halo=None, struct=None)¶ Construct.
Parameters: - slice (sequence of
slice) – Per axis start and stop indices defining the extent (not including ghost elements). - start (sequence of
int) – Per axis start indices defining the start of extent (not including ghost elements). - stop (sequence of
int) – Per axis stop indices defining the extent (not including ghost elements). - halo (
(len(slice), 2)shaped array ofint) – A(len(self.start), 2)shaped array ofintindicating the per-axis number of outer ghost elements.halo[:,0]is the number of elements on the low-index side andhalo[:,1]is the number of elements on the high-index side.
- slice (sequence of