DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::ArrayEigenMatrixBatch::iterator< B > Class Template Reference

Element iterator for ArrayEigenMatrixBatch, yielding MatrixBatch per row. More...

#include <ArrayEigenMatrixBatch.hpp>

Inheritance diagram for DNDS::ArrayEigenMatrixBatch::iterator< B >:
[legend]
Collaboration diagram for DNDS::ArrayEigenMatrixBatch::iterator< B >:
[legend]

Public Types

using view_type = t_deviceView< B >
 
using t_base_iter = ArrayIteratorBase< iterator< B > >
 
using reference = MatrixBatch< real >
 
using iterator_category = std::random_access_iterator_tag
 
- Public Types inherited from DNDS::ArrayIteratorBase< iterator< B > >
using difference_type = std::ptrdiff_t
 
using iterator_category = std::random_access_iterator_tag
 
using reference = void
 
using pointer = void
 
using value = void
 

Public Member Functions

auto getView () const
 
DNDS_DEVICE_CALLABLE iterator (const iterator &)=default
 
DNDS_DEVICE_CALLABLE ~iterator ()=default
 
DNDS_DEVICE_CALLABLE iterator (const view_type &n_view, index n_iRow)
 
DNDS_DEVICE_CALLABLE reference operator* ()
 
- Public Member Functions inherited from DNDS::ArrayIteratorBase< iterator< B > >
DNDS_DEVICE_CALLABLE auto getView () const
 
DNDS_DEVICE_CALLABLE ArrayIteratorBase (index n_iRow)
 
DNDS_DEVICE_CALLABLE index RowSize () const
 
DNDS_DEVICE_CALLABLE iterator< B > & operator++ ()
 
DNDS_DEVICE_CALLABLE iterator< B > operator++ (int)
 
DNDS_DEVICE_CALLABLE iterator< B > & operator-- ()
 
DNDS_DEVICE_CALLABLE iterator< B > operator-- (int)
 
DNDS_DEVICE_CALLABLE iterator< B > & operator+= (difference_type n)
 
DNDS_DEVICE_CALLABLE iterator< B > & operator-= (difference_type n)
 
DNDS_DEVICE_CALLABLE iterator< B > operator+ (difference_type n) const
 
DNDS_DEVICE_CALLABLE iterator< B > operator- (difference_type n) const
 
DNDS_DEVICE_CALLABLE difference_type operator- (const iterator< B > &R) const
 
DNDS_DEVICE_CALLABLE bool operator== (const iterator< B > &R) const
 
DNDS_DEVICE_CALLABLE bool operator!= (const iterator< B > &R) const
 
DNDS_DEVICE_CALLABLE bool operator< (const iterator< B > &R) const
 
DNDS_DEVICE_CALLABLE bool operator>= (const iterator< B > &R) const
 
DNDS_DEVICE_CALLABLE bool operator> (const iterator< B > &R) const
 
DNDS_DEVICE_CALLABLE bool operator<= (const iterator< B > &R) const
 
DNDS_DEVICE_CALLABLE auto operator[] (difference_type n)
 
DNDS_DEVICE_CALLABLE auto operator[] (difference_type n) const
 

Protected Attributes

view_type view
 
- Protected Attributes inherited from DNDS::ArrayIteratorBase< iterator< B > >
index iRow
 

Detailed Description

template<DeviceBackend B>
class DNDS::ArrayEigenMatrixBatch::iterator< B >

Element iterator for ArrayEigenMatrixBatch, yielding MatrixBatch per row.

Definition at line 104 of file ArrayEigenMatrixBatch.hpp.

Member Typedef Documentation

◆ iterator_category

template<DeviceBackend B>
using DNDS::ArrayEigenMatrixBatch::iterator< B >::iterator_category = std::random_access_iterator_tag

Definition at line 111 of file ArrayEigenMatrixBatch.hpp.

◆ reference

Definition at line 110 of file ArrayEigenMatrixBatch.hpp.

◆ t_base_iter

Definition at line 108 of file ArrayEigenMatrixBatch.hpp.

◆ view_type

Definition at line 107 of file ArrayEigenMatrixBatch.hpp.

Constructor & Destructor Documentation

◆ iterator() [1/2]

◆ ~iterator()

◆ iterator() [2/2]

template<DeviceBackend B>
DNDS_DEVICE_CALLABLE DNDS::ArrayEigenMatrixBatch::iterator< B >::iterator ( const view_type n_view,
index  n_iRow 
)
inline

Definition at line 120 of file ArrayEigenMatrixBatch.hpp.

Member Function Documentation

◆ getView()

template<DeviceBackend B>
auto DNDS::ArrayEigenMatrixBatch::iterator< B >::getView ( ) const
inline

Definition at line 117 of file ArrayEigenMatrixBatch.hpp.

◆ operator*()

Member Data Documentation

◆ view

Definition at line 114 of file ArrayEigenMatrixBatch.hpp.


The documentation for this class was generated from the following file: