MADNESS
version 0.9
|
Default process map is "random" using madness::hash(key) More...
#include <worlddc.h>
Public Member Functions | |
WorldDCDefaultPmap (World &world, const hashfunT &hf=hashfunT()) | |
ProcessID | owner (const keyT &key) const |
Maps key to processor. More... | |
Public Member Functions inherited from madness::WorldDCPmapInterface< keyT > | |
virtual | ~WorldDCPmapInterface () |
virtual void | print () const |
void | register_callback (ptrT ptr) |
Registers object for receipt of redistribute callbacks. More... | |
void | deregister_callback (ptrT ptr) |
Deregisters object for receipt of redistribute callbacks. More... | |
void | redistribute (World &world, const std::shared_ptr< WorldDCPmapInterface< keyT > > &newpmap) |
Invoking this switches all registered objects from this process map to the new one. More... | |
Additional Inherited Members | |
Public Types inherited from madness::WorldDCPmapInterface< keyT > | |
typedef WorldDCRedistributeInterface < keyT > * | ptrT |
Default process map is "random" using madness::hash(key)
|
inline |
|
inlinevirtual |
Maps key to processor.
[in] | key | Key for container |
Implements madness::WorldDCPmapInterface< keyT >.