#include <AMReX_SparseBins.H>
Public Types | |
| using | index_type = int |
| using | const_pointer_type = std::conditional_t< IsParticleTileData< T >(), T, const T * > |
| using | const_pointer_input_type = std::conditional_t< IsParticleTileData< T >(), const T &, const T * > |
Public Member Functions | |
| SparseBinIteratorFactory (const Gpu::DeviceVector< index_type > &bins, const Gpu::DeviceVector< index_type > &offsets, const Gpu::DeviceVector< index_type > &permutation, const_pointer_input_type items) | |
| __host__ __device__ index_type | getIndex (const index_type bin_number) const noexcept |
| __host__ __device__ BinIterator< T > | getBinIterator (const index_type bin_number) const noexcept |
Public Attributes | |
| const index_type * | m_bins_ptr |
| const index_type * | m_offsets_ptr |
| const index_type * | m_permutation_ptr |
| const_pointer_type | m_items |
| index_type | m_num_bins |
Static Public Attributes | |
| static constexpr index_type | m_not_found = std::numeric_limits<index_type>::max() |
| using amrex::SparseBinIteratorFactory< T >::const_pointer_input_type = std::conditional_t<IsParticleTileData<T>(), const T&, const T* > |
| using amrex::SparseBinIteratorFactory< T >::const_pointer_type = std::conditional_t<IsParticleTileData<T>(), T, const T* > |
| using amrex::SparseBinIteratorFactory< T >::index_type = int |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
| const index_type* amrex::SparseBinIteratorFactory< T >::m_bins_ptr |
| const_pointer_type amrex::SparseBinIteratorFactory< T >::m_items |
|
staticconstexpr |
| index_type amrex::SparseBinIteratorFactory< T >::m_num_bins |
| const index_type* amrex::SparseBinIteratorFactory< T >::m_offsets_ptr |
| const index_type* amrex::SparseBinIteratorFactory< T >::m_permutation_ptr |