iterative-solver 0.0
molpro::linalg::array::DistrArraySpan::LocalBufferSpan Struct Reference

#include <DistrArraySpan.h>

Inheritance diagram for molpro::linalg::array::DistrArraySpan::LocalBufferSpan:
Collaboration diagram for molpro::linalg::array::DistrArraySpan::LocalBufferSpan:

Public Member Functions

 LocalBufferSpan (DistrArraySpan &source)
 
 LocalBufferSpan (const DistrArraySpan &source)
 
- Public Member Functions inherited from molpro::linalg::array::DistrArray::LocalBuffer
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
 
Spanoperator= (const Span &source)=default
 
Spanoperator= (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
 
Spanoperator= (const Span &source)=default
 
Spanoperator= (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
 

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 *
 
- Protected Attributes inherited from molpro::linalg::array::DistrArray::LocalBuffer
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
 

Constructor & Destructor Documentation

◆ LocalBufferSpan() [1/2]

molpro::linalg::array::DistrArraySpan::LocalBufferSpan::LocalBufferSpan ( DistrArraySpan source)
explicit

◆ LocalBufferSpan() [2/2]

molpro::linalg::array::DistrArraySpan::LocalBufferSpan::LocalBufferSpan ( const DistrArraySpan source)
explicit