Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::IsotropicDistribution< RealType > Class Template Reference

Sample points uniformly on the surface of a unit sphere. More...

#include <IsotropicDistribution.hh>

Public Types

Type aliases
using real_type = RealType
 
using result_type = Array< real_type, 3 >
 

Public Member Functions

CELER_FUNCTION IsotropicDistribution ()
 Construct with defaults.
 
template<class Generator >
CELER_FUNCTION result_type operator() (Generator &rng)
 
template<class Generator >
CELER_FUNCTION auto operator() (Generator &rng) -> result_type
 Sample an isotropic unit vector.
 

Detailed Description

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

Sample points uniformly on the surface of a unit sphere.


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