mpi::chunk
#include <mpi.hpp>
Synopsis
template<typename T>
Function to chunk a range, distributing it uniformly over all MPI ranks.
Template parameters
T The type of the range
Parameters
range The range to chunk
comm The mpi communicator