mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Further review comments and errors fixed
This commit is contained in:
parent
0885c9b486
commit
3ac6c6be63
3 changed files with 4 additions and 4 deletions
|
|
@ -181,9 +181,8 @@ extern "C" double normal_variate(double mean, double std_dev);
|
|||
//! Samples an energy from the Muir (Gaussian) energy-dependent distribution.
|
||||
//!
|
||||
//! This is another form of the Gaussian distribution but with more easily
|
||||
//! modifiable parameters
|
||||
//! https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-05411-MS
|
||||
//!
|
||||
//! modifyable parameters
|
||||
//!
|
||||
//! @param e0 peak neutron energy [eV]
|
||||
//! @param m_rat ratio of the fusion reactants to AMU
|
||||
|
|
|
|||
|
|
@ -312,8 +312,8 @@ class Normal(Univariate):
|
|||
r"""Normally distributed sampling.
|
||||
|
||||
The Normal Distribution is characterized by two parameters
|
||||
:math:`\mu` and :math:`\sigma` and has density function :math:
|
||||
`p(X) dX = 1/\2*sigma\sqrt{\pi} * e^{(X-\mu/\2*sigma}`
|
||||
:math:`\mu` and :math:`\sigma` and has density function
|
||||
:math:`p(X) dX = 1/\2*sigma\sqrt{\pi} * e^{(X-\mu/\2*sigma}`
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import scipy as sp
|
|||
import openmc
|
||||
import openmc.capi
|
||||
|
||||
import pytest
|
||||
|
||||
def test_t_percentile():
|
||||
# Permutations include 1 DoF, 2 DoF, and > 2 DoF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue