|
Functions | |
bool | operator< (const DistributionElements &l, const DistributionElements &r) |
bool | operator< (const DistributionElements &l, const Mdouble prob) |
Mdouble | operator== (DistributionElements l, const Mdouble r) |
std::istream & | operator>> (std::istream &is, DistributionElements &p) |
std::ostream & | operator<< (std::ostream &os, DistributionElements &p) |
bool operator< | ( | const DistributionElements & | l, |
const DistributionElements & | r | ||
) |
Required to use std::lower_bound for finding when the probability is higher than a certain value.
bool operator< | ( | const DistributionElements & | l, |
const Mdouble | prob | ||
) |
required to use std::lower_bound for finding when the probability provided as a double is higher than a certain value.
std::ostream& operator<< | ( | std::ostream & | os, |
DistributionElements & | p | ||
) |
Writes to output stream. This function is used for restart files.
Mdouble operator== | ( | DistributionElements | l, |
const Mdouble | r | ||
) |
Required to use std::distance to find the index of the PSD size class in which a particle has to be inserted
std::istream& operator>> | ( | std::istream & | is, |
DistributionElements & | p | ||
) |
reads from input stream. This function is used for restart files.