Block-Structured AMR Software Framework
 
Loading...
Searching...
No Matches
amrex::Neighbors< ParticleType >::iterator Struct Reference

#include <AMReX_NeighborList.H>

Public Member Functions

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

Private Attributes

int m_index
 
int m_stop
 
const unsigned int * m_nbor_list_ptr
 
ParticleType * m_pstruct
 

Constructor & Destructor Documentation

◆ iterator()

template<class ParticleType >
__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 >
__host__ __device__ unsigned int amrex::Neighbors< ParticleType >::iterator::index ( ) const
inline

◆ operator!=()

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

◆ operator*()

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

◆ operator++()

template<class ParticleType >
__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: