Block-Structured AMR Software Framework
amrex::Neighbors< ParticleType >::const_iterator Struct Reference

#include <AMReX_NeighborList.H>

Public Member Functions

AMREX_GPU_HOST_DEVICE const_iterator (int start, int stop, const unsigned int *nbor_list_ptr, const ParticleType *pstruct)
 
AMREX_GPU_HOST_DEVICE void operator++ ()
 
AMREX_GPU_HOST_DEVICE bool operator!= (const_iterator const &) const
 
AMREX_GPU_HOST_DEVICE const ParticleType & operator* () const
 
AMREX_GPU_HOST_DEVICE unsigned int index () const
 

Private Attributes

int m_index
 
int m_stop
 
const unsigned intm_nbor_list_ptr
 
const ParticleType * m_pstruct
 

Constructor & Destructor Documentation

◆ const_iterator()

template<class ParticleType >
AMREX_GPU_HOST_DEVICE amrex::Neighbors< ParticleType >::const_iterator::const_iterator ( int  start,
int  stop,
const unsigned int nbor_list_ptr,
const ParticleType *  pstruct 
)
inline

Member Function Documentation

◆ index()

template<class ParticleType >
AMREX_GPU_HOST_DEVICE unsigned int amrex::Neighbors< ParticleType >::const_iterator::index ( ) const
inline

◆ operator!=()

template<class ParticleType >
AMREX_GPU_HOST_DEVICE bool amrex::Neighbors< ParticleType >::const_iterator::operator!= ( const_iterator const &  ) const
inline

◆ operator*()

template<class ParticleType >
AMREX_GPU_HOST_DEVICE const ParticleType& amrex::Neighbors< ParticleType >::const_iterator::operator* ( ) const
inline

◆ operator++()

template<class ParticleType >
AMREX_GPU_HOST_DEVICE void amrex::Neighbors< ParticleType >::const_iterator::operator++ ( )
inline

Member Data Documentation

◆ m_index

template<class ParticleType >
int amrex::Neighbors< ParticleType >::const_iterator::m_index
private

◆ m_nbor_list_ptr

template<class ParticleType >
const unsigned int* amrex::Neighbors< ParticleType >::const_iterator::m_nbor_list_ptr
private

◆ m_pstruct

template<class ParticleType >
const ParticleType* amrex::Neighbors< ParticleType >::const_iterator::m_pstruct
private

◆ m_stop

template<class ParticleType >
int amrex::Neighbors< ParticleType >::const_iterator::m_stop
private

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