MPI_local_range

dolfin.cpp.common.MPI_local_range()

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

Parameters:
  • comm (MPI_Comm) –
  • process (int) –
  • N (std::int64_t) –
Return type:

std::pair< std::int64_t, std::int64_t >