MADNESS  version 0.9
Public Member Functions | List of all members
madness::SimplePmap< keyT > Class Template Reference

A simple process map. More...

#include <funcimpl.h>

Inheritance diagram for madness::SimplePmap< keyT >:
Inheritance graph
[legend]
Collaboration diagram for madness::SimplePmap< keyT >:
Collaboration graph
[legend]

Public Member Functions

 SimplePmap (World &world)
 
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
 

Detailed Description

template<typename keyT>
class madness::SimplePmap< keyT >

A simple process map.

Constructor & Destructor Documentation

template<typename keyT >
madness::SimplePmap< keyT >::SimplePmap ( World world)
inline

Member Function Documentation

template<typename keyT >
ProcessID madness::SimplePmap< keyT >::owner ( const keyT &  key) const
inlinevirtual

Maps key to processor.

Parameters
[in]keyKey for container
Returns
Processor that logically owns the key

Implements madness::WorldDCPmapInterface< keyT >.


The documentation for this class was generated from the following file: