We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18b80c2 commit 071e6c8Copy full SHA for 071e6c8
src/binding/python/ChunkInfo.cpp
@@ -23,6 +23,7 @@
23
24
#include "MPI.hpp"
25
#include "openPMD/ChunkInfo.hpp"
26
+#include "openPMD/benchmark/mpi/OneDimensionalBlockSlicer.hpp"
27
28
#include <string>
29
#include <utility> // std::move
@@ -119,6 +120,13 @@ void init_Chunk(py::module &m) {
119
120
{ return ByHostname( withinNode.clone() ); } ),
121
py::arg( "strategy_within_node" ) );
122
123
+ ( void )py::class_< BlockSlicer >( m, "BlockSlicer" );
124
+
125
+ py::class_< OneDimensionalBlockSlicer, BlockSlicer >(
126
+ m, "OneDimensionalBlockSlicer" )
127
+ .def( py::init<>() )
128
+ .def( py::init< Extent::value_type >(), py::arg( "dim" ) );
129
130
py::class_< ByCuboidSlice, Strategy >( m, "ByCuboidSlice" )
131
.def(
132
py::init(
0 commit comments