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 Types

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

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, PTDType ptile_data, ConstPTDType const_ptile_data)
 

Member Typedef Documentation

◆ ConstPTDType

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

◆ PTDType

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

◆ Traits

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

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,
PTDType  ptile_data,
ConstPTDType  const_ptile_data 
)
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

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