mpi_array.distribution.CartLocaleExtent.split

CartLocaleExtent.split(a, index)

Split this extent into two extents by cutting along axis a at index index.

Parameters:
  • a (int) – Cut along this axis.
  • index (int) – Location of cut.
Return type:

tuple

Returns:

A (lo, hi) pair.