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

#include <AMReX_NeighborList.H>

Public Member Functions

 NeighborData (const Gpu::DeviceVector< unsigned int > &offsets, const Gpu::DeviceVector< unsigned int > &list, ParticleType *pstruct)
 
AMREX_GPU_HOST_DEVICE amrex::Neighbors< ParticleType > getNeighbors (int i) const
 

Public Attributes

const unsigned intm_nbor_offsets_ptr
 
const unsigned intm_nbor_list_ptr
 
ParticleType * m_pstruct
 

Constructor & Destructor Documentation

◆ NeighborData()

template<class ParticleType >
amrex::NeighborData< ParticleType >::NeighborData ( const Gpu::DeviceVector< unsigned int > &  offsets,
const Gpu::DeviceVector< unsigned int > &  list,
ParticleType *  pstruct 
)
inline

Member Function Documentation

◆ getNeighbors()

template<class ParticleType >
AMREX_GPU_HOST_DEVICE amrex::Neighbors<ParticleType> amrex::NeighborData< ParticleType >::getNeighbors ( int  i) const
inline

Member Data Documentation

◆ m_nbor_list_ptr

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

◆ m_nbor_offsets_ptr

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

◆ m_pstruct

template<class ParticleType >
ParticleType* amrex::NeighborData< ParticleType >::m_pstruct

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