Celeritas 0.7.0-dev.79+develop.b3dc2e108
|
Make a weighted random selection of an isotope. More...
#include <IsotopeSelector.hh>
Public Member Functions | |
CELER_FUNCTION | IsotopeSelector (ElementView const &element) |
Construct with element. | |
template<class Engine > | |
CELER_FUNCTION IsotopeComponentId | operator() (Engine &rng) const |
Sample the isotope with the given RNG. | |
Make a weighted random selection of an isotope.