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

#include <AMReX_NeighborList.H>

Classes

struct  const_iterator
 
struct  iterator
 

Public Member Functions

__host__ __device__ iterator begin () noexcept
 
__host__ __device__ iterator end () noexcept
 
__host__ __device__ const_iterator begin () const noexcept
 
__host__ __device__ const_iterator end () const noexcept
 
__host__ __device__ const_iterator cbegin () const noexcept
 
__host__ __device__ const_iterator cend () const noexcept
 
__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 int * m_nbor_offsets_ptr
 
const unsigned int * m_nbor_list_ptr
 
ParticleType * m_pstruct
 

Constructor & Destructor Documentation

◆ Neighbors()

template<class ParticleType >
__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 >
__host__ __device__ const_iterator amrex::Neighbors< ParticleType >::begin ( ) const
inlinenoexcept

◆ begin() [2/2]

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

◆ cbegin()

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

◆ cend()

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

◆ end() [1/2]

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

◆ end() [2/2]

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