| 454 | } |
| 455 | |
| 456 | void |
| 457 | DistributionMapping::RoundRobinProcessorMap (int nboxes, int nprocs, bool sort) |
| 458 | { |
| 459 | BL_ASSERT(nboxes > 0); |
| 460 | m_ref->clear(); |
| 461 | m_ref->m_pmap.resize(nboxes); |
| 462 | |
| 463 | RoundRobinDoIt(nboxes, nprocs, nullptr, sort); |
| 464 | } |
| 465 | |
| 466 | void |
| 467 | DistributionMapping::RoundRobinProcessorMap (const BoxArray& boxes, int nprocs) |