26 #ifndef TILEDARRAY_PMAP_HASH_PMAP_H__INCLUDED 27 #define TILEDARRAY_PMAP_HASH_PMAP_H__INCLUDED 46 const madness::hashT seed_;
75 madness::hashT seed = seed_;
76 madness::hash_combine(seed, tile);
95 #endif // TILEDARRAY_PMAP_HASH_PMAP_H__INCLUDED size_type size() const
Size accessor.
const size_type procs_
The number of processes.
const size_type rank_
The rank of this process.
virtual bool is_local(const size_type tile) const
Check that the tile is owned by this process.
HashPmap(World &world, const size_type size, madness::hashT seed=0ul)
Construct a hashed process map.
const size_type size_
The number of tiles mapped among all processes.
Pmap::size_type size_type
Size type.
std::size_t size_type
Size type.
virtual size_type owner(const size_type tile) const
Maps tile to the processor that owns it.
std::vector< size_type > local_
A list of local tiles.