|
| OneDimensionalBlockSlicer (Extent::value_type dim=0) |
|
std::pair< Offset, Extent > | sliceBlock (Extent &totalExtent, int size, int rank) override |
| Associate the current thread with its cuboid. More...
|
|
virtual | ~BlockSlicer ()=default |
| This class will be derived from.
|
|
◆ sliceBlock()
std::pair< Offset, Extent > openPMD::OneDimensionalBlockSlicer::sliceBlock |
( |
Extent & |
totalExtent, |
|
|
int |
size, |
|
|
int |
rank |
|
) |
| |
|
overridevirtual |
Associate the current thread with its cuboid.
- Parameters
-
totalExtent | The total extent of the cuboid. |
size | The number of threads to be used (not greater than MPI size). |
rank | The MPI rank. |
- Returns
- A pair of the cuboid's offset and extent.
Implements openPMD::BlockSlicer.
The documentation for this class was generated from the following files:
- /tmp/tmp.7iNmvGSbic/openPMD-api/include/openPMD/benchmark/mpi/OneDimensionalBlockSlicer.hpp
- /tmp/tmp.7iNmvGSbic/openPMD-api/src/benchmark/mpi/OneDimensionalBlockSlicer.cpp