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

#include <AMReX_NeighborList.H>

Classes

struct  const_iterator
 
struct  iterator
 

Public Member Functions

AMREX_GPU_HOST_DEVICE iterator begin () noexcept
 
AMREX_GPU_HOST_DEVICE iterator end () noexcept
 
AMREX_GPU_HOST_DEVICE const_iterator begin () const noexcept
 
AMREX_GPU_HOST_DEVICE const_iterator end () const noexcept
 
AMREX_GPU_HOST_DEVICE const_iterator cbegin () const noexcept
 
AMREX_GPU_HOST_DEVICE const_iterator cend () const noexcept
 
AMREX_GPU_HOST_DEVICE Neighbors (int i, const unsigned int *nbor_offsets_ptr, const unsigned int *nbor_list_ptr, ParticleType *pstruct)
 

Private Attributes

int m_i
 
const unsigned intm_nbor_offsets_ptr
 
const unsigned intm_nbor_list_ptr
 
ParticleType * m_pstruct
 

Constructor & Destructor Documentation

◆ Neighbors()

template<class ParticleType >
AMREX_GPU_HOST_DEVICE amrex::Neighbors< ParticleType >::Neighbors ( int  i,
const unsigned int nbor_offsets_ptr,
const unsigned int nbor_list_ptr,
ParticleType *  pstruct 
)
inline

Member Function Documentation

◆ begin() [1/2]

template<class ParticleType >
AMREX_GPU_HOST_DEVICE const_iterator amrex::Neighbors< ParticleType >::begin ( ) const
inlinenoexcept

◆ begin() [2/2]

template<class ParticleType >
AMREX_GPU_HOST_DEVICE iterator amrex::Neighbors< ParticleType >::begin ( )
inlinenoexcept

◆ cbegin()

template<class ParticleType >
AMREX_GPU_HOST_DEVICE const_iterator amrex::Neighbors< ParticleType >::cbegin ( ) const
inlinenoexcept

◆ cend()

template<class ParticleType >
AMREX_GPU_HOST_DEVICE const_iterator amrex::Neighbors< ParticleType >::cend ( ) const
inlinenoexcept

◆ end() [1/2]

template<class ParticleType >
AMREX_GPU_HOST_DEVICE const_iterator amrex::Neighbors< ParticleType >::end ( ) const
inlinenoexcept

◆ end() [2/2]

template<class ParticleType >
AMREX_GPU_HOST_DEVICE iterator amrex::Neighbors< ParticleType >::end ( )
inlinenoexcept

Member Data Documentation

◆ m_i

template<class ParticleType >
int amrex::Neighbors< ParticleType >::m_i
private

◆ m_nbor_list_ptr

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

◆ m_nbor_offsets_ptr

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

◆ m_pstruct

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

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