mpi_array.distribution.SingleLocaleDistribution.create_globale_extent

SingleLocaleDistribution.create_globale_extent(globale_extent, halo=0)

Factory method for creating GlobaleExtent object.

Parameters:
  • globale_extent (object) – Can be specified as a sequence-of-int shape, sequence-of-slice slice or a mpi_array.indexing.IndexingExtent. Defines the globale extent of the array.
  • halo (int) – Globale array halo (border), currently ignored.
Return type:

GlobaleExtent

Returns:

A self._globale_extent_type instance.

Todo

Handle globale_extent for non-zero halo.