MPI_compute_local_range

dolfin.cpp.common.MPI_compute_local_range(process: 'int', N: 'std::int64_t', size: 'int') → 'std::pair< std::int64_t,std::int64_t >'

Return local range for given process, splitting [0, N - 1] into size() portions of almost equal size