|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
Sample from a uniform radial distribution. More...
#include <RadialDistribution.hh>
Public Types | |
Type aliases | |
| using | real_type = RealType |
| using | result_type = real_type |
Public Member Functions | |
| CELER_FUNCTION | RadialDistribution (real_type radius) |
| Construct with defaults. | |
| template<class Generator > | |
| CELER_FUNCTION result_type | operator() (Generator &rng) |
| CELER_FUNCTION real_type | radius () const |
| Get the sampling radius. | |
| template<class Generator > | |
| CELER_FUNCTION auto | operator() (Generator &rng) -> result_type |
| Sample a random number according to the distribution. | |
Sample from a uniform radial distribution.