Update random_dist.h comment to be less specific (#2991)

This commit is contained in:
Gavin Ridley 2024-05-02 06:52:39 -05:00 committed by GitHub
parent 5d2b352025
commit d1366c0545
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,9 +48,9 @@ extern "C" double maxwell_spectrum(double T, uint64_t* seed);
extern "C" double watt_spectrum(double a, double b, uint64_t* seed);
//==============================================================================
//! Samples an energy from the Gaussian energy-dependent fission distribution.
//! Samples an energy from the Gaussian distribution.
//!
//! Samples from a Normal distribution with a given mean and standard deviation
//! Samples from a normal distribution with a given mean and standard deviation
//! The PDF is defined as s(x) = (1/2*sigma*sqrt(2) * e-((mu-x)/2*sigma)^2
//! Its sampled according to
//! http://www-pdg.lbl.gov/2009/reviews/rpp2009-rev-monte-carlo-techniques.pdf