Block-Structured AMR Software Framework
amrex::Gpu::range_detail::range_impl< T >::iterator Struct Reference

#include <AMReX_GpuRange.H>

Public Member Functions

AMREX_GPU_HOST_DEVICE iterator (T const &b, Long i, Long s) noexcept
 
AMREX_GPU_HOST_DEVICE void operator++ () noexcept
 
AMREX_GPU_HOST_DEVICE bool operator!= (iterator const &rhs) const noexcept
 
AMREX_GPU_HOST_DEVICEoperator* () const noexcept
 

Private Attributes

T const * mi_b
 
Long mi_i
 
Long mi_s
 

Constructor & Destructor Documentation

◆ iterator()

template<typename T >
AMREX_GPU_HOST_DEVICE amrex::Gpu::range_detail::range_impl< T >::iterator::iterator ( T const &  b,
Long  i,
Long  s 
)
inlinenoexcept

Member Function Documentation

◆ operator!=()

template<typename T >
AMREX_GPU_HOST_DEVICE bool amrex::Gpu::range_detail::range_impl< T >::iterator::operator!= ( iterator const &  rhs) const
inlinenoexcept

◆ operator*()

template<typename T >
AMREX_GPU_HOST_DEVICE T amrex::Gpu::range_detail::range_impl< T >::iterator::operator* ( ) const
inlinenoexcept

◆ operator++()

template<typename T >
AMREX_GPU_HOST_DEVICE void amrex::Gpu::range_detail::range_impl< T >::iterator::operator++ ( )
inlinenoexcept

Member Data Documentation

◆ mi_b

template<typename T >
T const* amrex::Gpu::range_detail::range_impl< T >::iterator::mi_b
private

◆ mi_i

template<typename T >
Long amrex::Gpu::range_detail::range_impl< T >::iterator::mi_i
private

◆ mi_s

template<typename T >
Long amrex::Gpu::range_detail::range_impl< T >::iterator::mi_s
private

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