Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update random_dist.h comment to be less specific
  • Loading branch information
gridley authored May 1, 2024
commit ce1e3306e54505044e12104376fd6e7ff6779428
4 changes: 2 additions & 2 deletions include/openmc/random_dist.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down