1 #ifndef AMREX_BINITERATOR_H_
2 #define AMREX_BINITERATOR_H_
3 #include <AMReX_Config.H>
14 return T::is_particle_tile_data;
17 template<
class T,
class...Args >
#define AMREX_GPU_HOST_DEVICE
Definition: AMReX_GpuQualifiers.H:20
@ max
Definition: AMReX_ParallelReduce.H:17
Definition: AMReX_Amr.cpp:49
constexpr decltype(T::is_particle_tile_data) IsParticleTileData()
Definition: AMReX_BinIterator.H:13
const int[]
Definition: AMReX_BLProfiler.cpp:1664
Definition: AMReX_BinIterator.H:38
AMREX_GPU_HOST_DEVICE bool operator!=(iterator const &) const
Definition: AMReX_BinIterator.H:49
index_type m_stop
Definition: AMReX_BinIterator.H:61
const_pointer_type m_items
Definition: AMReX_BinIterator.H:58
AMREX_GPU_HOST_DEVICE void operator++()
Definition: AMReX_BinIterator.H:46
AMREX_GPU_HOST_DEVICE iterator(index_type start, index_type stop, const index_type *a_perm, const_pointer_input_type a_items)
Definition: AMReX_BinIterator.H:40
AMREX_GPU_HOST_DEVICE auto operator*() const
Definition: AMReX_BinIterator.H:52
const index_type * m_perm
Definition: AMReX_BinIterator.H:59
index_type m_index
Definition: AMReX_BinIterator.H:60
Definition: AMReX_BinIterator.H:24
const_pointer_type m_items
Definition: AMReX_BinIterator.H:91
int index_type
Definition: AMReX_BinIterator.H:25
AMREX_GPU_HOST_DEVICE iterator end() const
Definition: AMReX_BinIterator.H:74
const index_type * m_offsets_ptr
Definition: AMReX_BinIterator.H:89
AMREX_GPU_HOST_DEVICE BinIterator(index_type i, const index_type *offsets_ptr, const index_type *permutation_ptr, const_pointer_input_type items)
Definition: AMReX_BinIterator.H:82
std::conditional_t< IsParticleTileData< T >(), T, const T * > const_pointer_type
Definition: AMReX_BinIterator.H:30
AMREX_GPU_HOST_DEVICE iterator begin() const
Definition: AMReX_BinIterator.H:65
const index_type * m_permutation_ptr
Definition: AMReX_BinIterator.H:90
static constexpr index_type m_not_found
Definition: AMReX_BinIterator.H:93
std::conditional_t< IsParticleTileData< T >(), const T &, const T * > const_pointer_input_type
Definition: AMReX_BinIterator.H:35
index_type m_i
Definition: AMReX_BinIterator.H:88