TiledArray::Pmap::Iterator Class Reference
Inheritance diagram for TiledArray::Pmap::Iterator:
Collaboration diagram for TiledArray::Pmap::Iterator:
Documentation
Pmap iterator type.
Iterates over an integer range, with possible help of Pmap itself; if Pmap keeps list of local indices simply proxies the Pmap::local_::iterator
Public Member Functions | |
Iterator (const Pmap &pmap, size_type begin_idx, size_type end_idx, size_type idx, bool checking, bool use_pmap_advance=false) | |
Creates an iterator of an integer range [begin_idx,end_idx) More... | |
Iterator (const Pmap &pmap, std::vector< size_type >::const_iterator it) | |
Creates an iterator over pmap.local_ . More... | |
Friends | |
class | boost::iterator_core_access |
Constructor & Destructor Documentation
◆ Iterator() [1/2]
|
inline |
Creates an iterator of an integer range [begin_idx,end_idx)
- Parameters
-
pmap the host Pmap object begin_idx start of the range end_idx end of the range (one past the last element) idx the current index to which points; if idx==end_idx
this creates an end iteratorchecking whether to use pmap.is_local()
when iteratinguse_pmap_advance whether to use pmap.advance()
to increment/decrement
Definition at line 171 of file pmap.h.
Here is the call graph for this function:
◆ Iterator() [2/2]
|
inline |
Friends And Related Function Documentation
◆ boost::iterator_core_access
The documentation for this class was generated from the following file:
- TiledArray/pmap/pmap.h