|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Selects the gamma factor for binning. More...
#include <BinningTools.h>

Public Types | |
| using | value_type = typename bunch_type::Layout_t::value_type |
| using | size_type = typename bunch_type::size_type |
| using | position_view_type = typename bunch_type::particle_position_type::view_type |
Public Member Functions | |
| GammaSelector (int axis_) | |
| void | updateDataArr (bunch_type &bunch) |
| KOKKOS_INLINE_FUNCTION value_type | operator() (const size_type &i) const |
Public Attributes | |
| position_view_type | data_arr |
| const int | axis |
Selects the gamma factor for binning.
This struct provides a way to select the gamma factor for binning. It allows specifying the axis index, making it versatile for different coordinate-based binning operations. Usually used on axis 2, meaning the gamma in z-direction.
Definition at line 149 of file BinningTools.h.
| using ParticleBinning::GammaSelector< bunch_type >::position_view_type = typename bunch_type::particle_position_type::view_type |
Definition at line 152 of file BinningTools.h.
| using ParticleBinning::GammaSelector< bunch_type >::size_type = typename bunch_type::size_type |
Definition at line 151 of file BinningTools.h.
| using ParticleBinning::GammaSelector< bunch_type >::value_type = typename bunch_type::Layout_t::value_type |
Definition at line 150 of file BinningTools.h.
|
inline |
Definition at line 157 of file BinningTools.h.
|
inline |
Definition at line 162 of file BinningTools.h.
References ParticleBinning::GammaSelector< bunch_type >::axis, and ParticleBinning::GammaSelector< bunch_type >::data_arr.
|
inline |
Definition at line 159 of file BinningTools.h.
References ParticleBinning::GammaSelector< bunch_type >::data_arr.
| const int ParticleBinning::GammaSelector< bunch_type >::axis |
Definition at line 155 of file BinningTools.h.
Referenced by ParticleBinning::GammaSelector< bunch_type >::operator()().
| position_view_type ParticleBinning::GammaSelector< bunch_type >::data_arr |
Definition at line 154 of file BinningTools.h.
Referenced by ParticleBinning::GammaSelector< bunch_type >::operator()(), and ParticleBinning::GammaSelector< bunch_type >::updateDataArr().