OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
BinningTools.h File Reference
Include dependency graph for BinningTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ParticleBinning::CoordinateSelector< bunch_type >
 Example struct used to access the binning variable for each particle. More...

Namespaces

namespace  ParticleBinning

Functions

template<typename bin_index_type>
HistoReductionMode ParticleBinning::determineHistoReductionMode (HistoReductionMode modePreference, bin_index_type binCount)
 Determines the appropriate histogram reduction mode based on user preference, bin count, and execution environment.
template<typename ViewType>
void ParticleBinning::computeFixSum (const ViewType &input_view, const ViewType &post_sum_view)
 Computes the post- or prefix-sum of the input view and stores the result in the ...-sum view.
template<typename ValueType, typename SizeType, typename HashType>
bool ParticleBinning::viewIsSorted (const Kokkos::View< ValueType * > view, HashType indices, SizeType npart)
 Checks if the elements in a Kokkos::View are sorted in non-decreasing order.