https://mooseframework.inl.gov
Public Types | Public Member Functions | Private Attributes | List of all members
Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_range< is_const > Class Template Reference

Range over tracked constructed entries. More...

#include <KokkosArray.h>

Public Types

using array_type = std::conditional_t< is_const, const ArrayBase, ArrayBase >
 
using iterator = constructed_entry_iterator< is_const >
 

Public Member Functions

 constructed_entry_range (array_type &array)
 
iterator begin () const
 
iterator end () const
 

Private Attributes

array_type_array
 Array that provides the constructed-entry iteration bounds. More...
 

Detailed Description

template<typename T, unsigned int dimension, typename index_type>
template<bool is_const>
class Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_range< is_const >

Range over tracked constructed entries.

Definition at line 190 of file KokkosArray.h.

Member Typedef Documentation

◆ array_type

template<typename T, unsigned int dimension, typename index_type>
template<bool is_const>
using Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_range< is_const >::array_type = std::conditional_t<is_const, const ArrayBase, ArrayBase>

Definition at line 237 of file KokkosArray.h.

◆ iterator

template<typename T, unsigned int dimension, typename index_type>
template<bool is_const>
using Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_range< is_const >::iterator = constructed_entry_iterator<is_const>

Definition at line 238 of file KokkosArray.h.

Constructor & Destructor Documentation

◆ constructed_entry_range()

template<typename T, unsigned int dimension, typename index_type>
template<bool is_const>
Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_range< is_const >::constructed_entry_range ( array_type array)
explicit

Definition at line 777 of file KokkosArray.h.

780  : _array(array)
781 {
782 }
array_type & _array
Array that provides the constructed-entry iteration bounds.
Definition: KokkosArray.h:249

Member Function Documentation

◆ begin()

template<typename T , unsigned int dimension, typename index_type >
template<bool is_const>
ArrayBase< T, dimension, index_type >::template constructed_entry_range< is_const >::iterator Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_range< is_const >::begin ( ) const

Definition at line 787 of file KokkosArray.h.

788 {
789  return iterator(_array, 0);
790 }
constructed_entry_iterator< is_const > iterator
Definition: KokkosArray.h:238
array_type & _array
Array that provides the constructed-entry iteration bounds.
Definition: KokkosArray.h:249

◆ end()

template<typename T , unsigned int dimension, typename index_type >
template<bool is_const>
ArrayBase< T, dimension, index_type >::template constructed_entry_range< is_const >::iterator Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_range< is_const >::end ( ) const

Definition at line 795 of file KokkosArray.h.

796 {
797  return iterator(_array, _array._size);
798 }
constructed_entry_iterator< is_const > iterator
Definition: KokkosArray.h:238
array_type & _array
Array that provides the constructed-entry iteration bounds.
Definition: KokkosArray.h:249

Member Data Documentation

◆ _array

template<typename T, unsigned int dimension, typename index_type>
template<bool is_const>
array_type& Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_range< is_const >::_array
private

Array that provides the constructed-entry iteration bounds.

Definition at line 249 of file KokkosArray.h.


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