26 #ifndef TILEDARRAY_PMAP_H__INCLUDED 27 #define TILEDARRAY_PMAP_H__INCLUDED 133 #endif // TILEDARRAY_PMAP_H__INCLUDED size_type size() const
Size accessor.
const size_type procs_
The number of processes.
const_iterator end() const
End local element iterator.
size_type procs() const
Process count accessor.
const size_type rank_
The rank of this process.
bool empty() const
Check if there are any local elements.
virtual bool is_replicated() const
Replicated array status.
Pmap(World &world, const size_type size)
Process map constructor.
virtual bool is_local(const size_type tile) const =0
Check that the tile is owned by this process.
virtual size_type owner(const size_type tile) const =0
Maps tile to the processor that owns it.
std::vector< size_type >::const_iterator const_iterator
Iterator type.
size_type rank() const
Process rank accessor.
const size_type size_
The number of tiles mapped among all processes.
size_type local_size() const
Local size accessor.
const_iterator begin() const
Begin local element iterator.
std::size_t size_type
Size type.
std::vector< size_type > local_
A list of local tiles.