|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <triqs/gfs/block/block_gf.hpp>
Forward iterator over the blocks of a block Green's function.
Iterates over the blocks in row-major order (for a block2_gf, block (i, j) comes before (i, j+1)).
| is_const | Whether the iterator yields const blocks. |
Definition at line 343 of file block_gf.hpp.
Public Member Functions | |
| iterator_impl ()=default | |
| Construct a past-the-end (singular) iterator. | |
| iterator_impl (block_gf_ref _bgf, bool at_end=false) | |
| Construct an iterator over a block Green's function, optionally positioned at the end. | |
| iterator_impl (block_gf_ref _bgf, int _n) | |
| Construct an iterator over a block Green's function positioned at block _n. | |
| operator iterator_impl< true > () const | |
| Convert a non-const iterator to a const iterator. | |
| bool | operator!= (iterator_impl const &other) const |
| Inequality comparison. | |
| reference | operator* () |
| Dereference to the current block. | |
| reference | operator* () const |
| Dereference to the current block (const overload). | |
| iterator_impl & | operator++ () |
| Pre-increment to the next block. | |
| iterator_impl | operator++ (int) |
| Post-increment to the next block. | |
| reference | operator-> () |
| Member access to the current block. | |
| bool | operator== (iterator_impl const &other) const |
| Equality comparison (same block Green's function and same position). | |