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

#include <AMReX_NeighborList.H>

Public Types

using Traits = detail::NeighborParticleTypeTraits< ParticleType >
 
using PTDType = typename Traits::PTDType
 
using ConstPTDType = typename Traits::ConstPTDType
 

Public Member Functions

 NeighborData (const Gpu::DeviceVector< unsigned int > &offsets, const Gpu::DeviceVector< unsigned int > &list, PTDType ptile_data, ConstPTDType const_ptile_data)
 
__host__ __device__ amrex::Neighbors< ParticleType > getNeighbors (int i) const
 

Public Attributes

const unsigned intm_nbor_offsets_ptr
 
const unsigned intm_nbor_list_ptr
 
PTDType m_ptile_data
 
ConstPTDType m_const_ptile_data
 

Member Typedef Documentation

◆ ConstPTDType

template<class ParticleType >
using amrex::NeighborData< ParticleType >::ConstPTDType = typename Traits::ConstPTDType

◆ PTDType

template<class ParticleType >
using amrex::NeighborData< ParticleType >::PTDType = typename Traits::PTDType

◆ Traits

template<class ParticleType >
using amrex::NeighborData< ParticleType >::Traits = detail::NeighborParticleTypeTraits<ParticleType>

Constructor & Destructor Documentation

◆ NeighborData()

template<class ParticleType >
amrex::NeighborData< ParticleType >::NeighborData ( const Gpu::DeviceVector< unsigned int > &  offsets,
const Gpu::DeviceVector< unsigned int > &  list,
PTDType  ptile_data,
ConstPTDType  const_ptile_data 
)
inline

Member Function Documentation

◆ getNeighbors()

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

Member Data Documentation

◆ m_const_ptile_data

template<class ParticleType >
ConstPTDType amrex::NeighborData< ParticleType >::m_const_ptile_data

◆ 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_ptile_data

template<class ParticleType >
PTDType amrex::NeighborData< ParticleType >::m_ptile_data

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