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

#include <lbdeux.h>

Inheritance diagram for madness::LBDeuxPmap< NDIM >:
Inheritance graph
[legend]
Collaboration diagram for madness::LBDeuxPmap< NDIM >:
Collaboration graph
[legend]

Public Member Functions

 LBDeuxPmap (const std::vector< pairT > &v)
 
ProcessID owner (const keyT &key) const
 Maps key to processor. More...
 
void print () const
 
- Public Member Functions inherited from madness::WorldDCPmapInterface< Key< NDIM > >
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< NDIM > > > &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< Key< NDIM > >
typedef
WorldDCRedistributeInterface
< Key< NDIM > > * 
ptrT
 

Constructor & Destructor Documentation

template<std::size_t NDIM>
madness::LBDeuxPmap< NDIM >::LBDeuxPmap ( const std::vector< pairT > &  v)
inline

Member Function Documentation

template<std::size_t NDIM>
ProcessID madness::LBDeuxPmap< NDIM >::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< Key< NDIM > >.

References madness::Key< NDIM >::level(), madness::Key< NDIM >::parent(), and madness::print().

template<std::size_t NDIM>
void madness::LBDeuxPmap< NDIM >::print ( ) const
inlinevirtual

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