Celeritas  0.5.0-86+4a8eea4
Functions
PrimaryGeneratorOptions.cc File Reference
#include "PrimaryGeneratorOptions.hh"
#include "corecel/io/EnumStringMapper.hh"
#include "celeritas/random/distribution/DeltaDistribution.hh"
#include "celeritas/random/distribution/IsotropicDistribution.hh"
#include "celeritas/random/distribution/UniformBoxDistribution.hh"

Functions

char const * celeritas::to_cstring (DistributionSelection value)
 Get a string corresponding to the distribution type.
 
std::function< real_type(PrimaryGeneratorEngine &)> celeritas::make_energy_sampler (DistributionOptions options)
 Return a distribution for sampling the energy.
 
std::function< Real3(PrimaryGeneratorEngine &)> celeritas::make_position_sampler (DistributionOptions options)
 Return a distribution for sampling the position.
 
std::function< Real3(PrimaryGeneratorEngine &)> celeritas::make_direction_sampler (DistributionOptions options)
 Return a distribution for sampling the direction.