16 #ifndef OPAL_BinsCyc_HH
17 #define OPAL_BinsCyc_HH
22 #define Inform ostream
26 #include <gsl/gsl_rng.h>
27 #include <gsl/gsl_histogram.h>
28 #include <gsl/gsl_cdf.h>
29 #include <gsl/gsl_randist.h>
39 PartBinsCyc(
int bunches,
int bins,
size_t partInBin[]);
63 #endif // OPAL_BinsCyc_HH
bool reduce(Communicate &, InputIterator, InputIterator, OutputIterator, const ReduceOp &, bool *IncludeVal=0)
std::unique_ptr< size_t[]> nBin_m
Defines a structure to hold energy bins and their associated data.
size_t getGlobalBinCount(int bin)
How many particles are on one bin.
PartBinsCyc(int bunches, int bins, size_t partInBin[])
size_t getLocalBinCount(int bin)
How many particles are on one energy bin.