mpi_array.distribution.HaloSubExtent.calc_intersection_split¶
-
HaloSubExtent.
calc_intersection_split
(other)¶ Returns
(leftovers, intersection)
pair, whereintersection
is theIndexingExtent
object (possiblyNone
) indicating the intersection of this (self
) extent with theother
extent andleftovers
is a list ofIndexingExtent
objects indicating regions ofself
which do not intersect with theother
extent.Parameters: other ( IndexingExtent
) – Perform intersection calculation using this extent.Return type: tuple
Returns: (leftovers, intersection)
pair.