MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / RoundRobinProcessorMap

Method RoundRobinProcessorMap

Src/Base/AMReX_DistributionMapping.cpp:456–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456void
457DistributionMapping::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
466void
467DistributionMapping::RoundRobinProcessorMap (const BoxArray& boxes, int nprocs)

Callers 1

makeRoundRobinMethod · 0.80

Calls 6

clearMethod · 0.45
resizeMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45
reserveMethod · 0.45
numPtsMethod · 0.45

Tested by

no test coverage detected