Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::RadialDistribution< RealType > Class Template Reference

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.
 

Detailed Description

template<class RealType = ::celeritas::real_type>
class celeritas::RadialDistribution< RealType >

Sample from a uniform radial distribution.


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