|
TiledArray
0.7.0
|
A Replicated process map. More...
#include <replicated_pmap.h>


Public Types | |
| typedef Pmap::size_type | size_type |
| < A list of local tiles More... | |
Public Types inherited from TiledArray::Pmap | |
| typedef std::size_t | size_type |
| Size type. More... | |
| typedef std::vector< size_type >::const_iterator | const_iterator |
| Iterator type. More... | |
Public Member Functions | |
| ReplicatedPmap (World &world, size_type size) | |
| Construct Blocked map. More... | |
| virtual | ~ReplicatedPmap () |
| virtual size_type | owner (const size_type tile) const |
Maps tile to the processor that owns it. More... | |
| virtual bool | is_local (const size_type tile) const |
| Check that the tile is owned by this process. More... | |
| virtual bool | is_replicated () const |
| Replicated array status. More... | |
Public Member Functions inherited from TiledArray::Pmap | |
| Pmap (World &world, const size_type size) | |
| Process map constructor. More... | |
| virtual | ~Pmap () |
| size_type | size () const |
| Size accessor. More... | |
| size_type | rank () const |
| Process rank accessor. More... | |
| size_type | procs () const |
| Process count accessor. More... | |
| size_type | local_size () const |
| Local size accessor. More... | |
| bool | empty () const |
| Check if there are any local elements. More... | |
| const_iterator | begin () const |
| Begin local element iterator. More... | |
| const_iterator | end () const |
| End local element iterator. More... | |
Protected Attributes | |
| const size_type | rank_ |
| The rank of this process. More... | |
| const size_type | procs_ |
| < The rank of this process More... | |
| const size_type | size_ |
| < The number of processes More... | |
| std::vector< size_type > | local_ |
| < The number of tiles mapped among all processes More... | |
Protected Attributes inherited from TiledArray::Pmap | |
| const size_type | rank_ |
| The rank of this process. More... | |
| const size_type | procs_ |
| The number of processes. More... | |
| const size_type | size_ |
| The number of tiles mapped among all processes. More... | |
| std::vector< size_type > | local_ |
| A list of local tiles. More... | |
A Replicated process map.
Defines a process map where all processes own data.
Definition at line 37 of file replicated_pmap.h.
|
inline |
Construct Blocked map.
| world | A reference to the world |
| size | The number of elements to be mapped |
Definition at line 53 of file replicated_pmap.h.

|
inlinevirtual |
Definition at line 67 of file replicated_pmap.h.
|
inlinevirtual |
Check that the tile is owned by this process.
| tile | The tile to be checked |
true if tile is owned by this process, otherwise false . Implements TiledArray::Pmap.
Definition at line 82 of file replicated_pmap.h.
|
inlinevirtual |
Replicated array status.
true if the array is replicated, and false otherwise Reimplemented from TiledArray::Pmap.
Definition at line 90 of file replicated_pmap.h.
|
inlinevirtual |
Maps tile to the processor that owns it.
| tile | The tile to be queried |
tile Implements TiledArray::Pmap.
Definition at line 73 of file replicated_pmap.h.

|
protected |
|
protected |
|
protected |
|
protected |