MADNESS
version 0.9
|
Procmap implemented using Tree of TreeCoords. More...
#include <mypmap.h>
Public Member Functions | |
MyPmap () | |
MyPmap (World &world) | |
MyPmap (World &world, unsigned int map_type, int n=100) | |
MyPmap (World &world, std::vector< TreeCoords< D > > v) | |
MyPmap (const MyPmap< D > &other) | |
MyPmap< D > & | operator= (const MyPmap< D > &other) |
void | print () const |
ProcessID | owner (const KeyD &key) const |
Find the owner of a given key. More... | |
Public Member Functions inherited from madness::WorldDCPmapInterface< Key< D > > | |
virtual | ~WorldDCPmapInterface () |
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< Key< D > > > &newpmap) |
Invoking this switches all registered objects from this process map to the new one. More... | |
Static Public Member Functions | |
static bool | costmapcmp (const std::pair< KeyD, double > &a, const std::pair< KeyD, double > &b) |
Additional Inherited Members | |
Public Types inherited from madness::WorldDCPmapInterface< Key< D > > | |
typedef WorldDCRedistributeInterface < Key< D > > * | ptrT |
Procmap implemented using Tree of TreeCoords.
|
inline |
|
inline |
|
inline |
References mpfr::log(), and madness::World::size().
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinevirtual |
Find the owner of a given key.
Implements madness::WorldDCPmapInterface< Key< D > >.
|
inlinevirtual |
Reimplemented from madness::WorldDCPmapInterface< Key< D > >.
References madness::print().