Skip to content

Commit

Permalink
Update random_dist.h comment to be less specific (#2991)
Browse files Browse the repository at this point in the history
  • Loading branch information
gridley authored May 2, 2024
1 parent 5d2b352 commit d1366c0
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit d1366c0

Please sign in to comment.