Block-Structured AMR Software Framework
amrex::DenseBinIteratorFactory< T > Struct Template Reference

#include <AMReX_DenseBins.H>

Public Types

using index_type = int
 
using const_pointer_type = std::conditional_t< IsParticleTileData< T >(), T, const T * >
 

Public Member Functions

 DenseBinIteratorFactory (const Gpu::DeviceVector< index_type > &offsets, const Gpu::DeviceVector< index_type > &permutation, const T *items)
 
AMREX_GPU_HOST_DEVICE BinIterator< T > getBinIterator (const int bin_number) const noexcept
 

Public Attributes

const index_typem_offsets_ptr
 
const index_typem_permutation_ptr
 
const_pointer_type m_items
 

Member Typedef Documentation

◆ const_pointer_type

template<typename T >
using amrex::DenseBinIteratorFactory< T >::const_pointer_type = std::conditional_t<IsParticleTileData<T>(), T, const T* >

◆ index_type

template<typename T >
using amrex::DenseBinIteratorFactory< T >::index_type = int

Constructor & Destructor Documentation

◆ DenseBinIteratorFactory()

template<typename T >
amrex::DenseBinIteratorFactory< T >::DenseBinIteratorFactory ( const Gpu::DeviceVector< index_type > &  offsets,
const Gpu::DeviceVector< index_type > &  permutation,
const T *  items 
)
inline

Member Function Documentation

◆ getBinIterator()

template<typename T >
AMREX_GPU_HOST_DEVICE BinIterator<T> amrex::DenseBinIteratorFactory< T >::getBinIterator ( const int  bin_number) const
inlinenoexcept

Member Data Documentation

◆ m_items

template<typename T >
const_pointer_type amrex::DenseBinIteratorFactory< T >::m_items

◆ m_offsets_ptr

template<typename T >
const index_type* amrex::DenseBinIteratorFactory< T >::m_offsets_ptr

◆ m_permutation_ptr

template<typename T >
const index_type* amrex::DenseBinIteratorFactory< T >::m_permutation_ptr

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