|
def | __init__ (self, offset, extent) |
|
def | __len__ (self) |
|
def | slice1D (self, mpi_rank, mpi_size, dimension=None) |
|
A Chunk is an n-dimensional hypercube, defined by an offset and an extent.
Offset and extent must be of the same dimensionality (Chunk.__len__).
◆ slice1D()
def openpmd_api.pipe.__main__.Chunk.slice1D |
( |
|
self, |
|
|
|
mpi_rank, |
|
|
|
mpi_size, |
|
|
|
dimension = None |
|
) |
| |
Slice this chunk into mpi_size hypercubes along one of its
n dimensions. The dimension is given through the 'dimension'
parameter. If None, the dimension with the largest extent on
this hypercube is automatically picked.
Returns the mpi_rank'th of the sliced chunks.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/openpmd-api/checkouts/0.14.3/src/binding/python/openpmd_api/pipe/__main__.py