| 1752 | } |
| 1753 | |
| 1754 | DistributionMapping |
| 1755 | DistributionMapping::makeRoundRobin (const MultiFab& weight) |
| 1756 | { |
| 1757 | BL_PROFILE("makeRoundRobin"); |
| 1758 | Vector<Long> cost = gather_weights(weight); |
| 1759 | int nprocs = ParallelContext::NProcsSub(); |
| 1760 | DistributionMapping r; |
| 1761 | r.RoundRobinProcessorMap(cost, nprocs); |
| 1762 | return r; |
| 1763 | } |
| 1764 | |
| 1765 | DistributionMapping |
| 1766 | DistributionMapping::makeSFC (const MultiFab& weight, bool sort) |
nothing calls this directly
no test coverage detected