Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::IsotopeSelector Class Reference

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.
 

Detailed Description

Make a weighted random selection of an isotope.


The documentation for this class was generated from the following file: