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

#include <AMReX_NeighborList.H>

Public Member Functions

AMREX_GPU_HOST_DEVICE iterator (int start, int stop, const unsigned int *nbor_list_ptr, ParticleType *pstruct)
 
AMREX_GPU_HOST_DEVICE void operator++ ()
 
AMREX_GPU_HOST_DEVICE bool operator!= (iterator const &) const
 
AMREX_GPU_HOST_DEVICE 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
 
ParticleType * m_pstruct
 

Constructor & Destructor Documentation

◆ iterator()

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

Member Function Documentation

◆ index()

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

◆ operator!=()

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

◆ operator*()

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

◆ operator++()

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

Member Data Documentation

◆ m_index

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

◆ m_nbor_list_ptr

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

◆ m_pstruct

template<class ParticleType >
ParticleType* amrex::Neighbors< ParticleType >::iterator::m_pstruct
private

◆ m_stop

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

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