Provides access to the local portion of the array. More...
#include <DistrArray.h>


Provides access to the local portion of the array.
Public Member Functions | |
| virtual | ~LocalBuffer ()=default |
| bool | compatible (const LocalBuffer &other) const |
| Checks that the current and the other buffers correspond to the same section of their respective arrays. More... | |
| size_type | start () const |
| Return index to the start of the local buffer section in the distributed array. More... | |
Public Member Functions inherited from molpro::linalg::array::span::Span< value_type > | |
| Span ()=default | |
| Span (value_type *data, size_type size) | |
| Span (const Span &source)=default | |
| Span (Span< value_type > &&source) noexcept | |
| ~Span ()=default | |
| Span & | operator= (const Span &source)=default |
| Span & | operator= (Span &&source) noexcept |
| reference | operator[] (size_type i) |
| const_reference | operator[] (size_type i) const |
| iterator | data () |
| const_iterator | data () const |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cend () const |
| size_type | size () const |
| bool | empty () const |
| Span ()=default | |
| Span (value_type *data, size_type size) | |
| Span (const Span &source)=default | |
| Span (Span< value_type > &&source) noexcept | |
| ~Span ()=default | |
| Span & | operator= (const Span &source)=default |
| Span & | operator= (Span &&source) noexcept |
| reference | operator[] (size_type i) |
| const_reference | operator[] (size_type i) const |
| iterator | data () |
| const_iterator | data () const |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cend () const |
| size_type | size () const |
| bool | empty () const |
Protected Attributes | |
| size_type | m_start = 0 |
| index of first element of local buffer in the array More... | |
Protected Attributes inherited from molpro::linalg::array::span::Span< value_type > | |
| iterator | m_buffer |
| size_type | m_size |
| iterator | m_buffer |
| size_type | m_size |
Friends | |
| void | swap (LocalBuffer &, LocalBuffer &)=delete |
Additional Inherited Members | |
Public Types inherited from molpro::linalg::array::span::Span< value_type > | |
| using | element_type = value_type |
| using | value_type = std::remove_cv_t< value_type > |
| using | reference = value_type & |
| using | const_reference = value_type & |
| using | size_type = size_t |
| using | difference_type = std::ptrdiff_t |
| using | iterator = value_type * |
| using | const_iterator = value_type const * |
| using | element_type = value_type |
| using | value_type = std::remove_cv_t< value_type > |
| using | reference = value_type & |
| using | const_reference = value_type & |
| using | size_type = size_t |
| using | difference_type = std::ptrdiff_t |
| using | iterator = value_type * |
| using | const_iterator = value_type const * |
|
virtualdefault |
|
inline |
Checks that the current and the other buffers correspond to the same section of their respective arrays.
|
inline |
Return index to the start of the local buffer section in the distributed array.
|
friend |
|
protected |
index of first element of local buffer in the array