mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
Respond to @smharper comments on #721
This commit is contained in:
parent
dfcb4bc935
commit
5555cfd1aa
3 changed files with 5 additions and 7 deletions
|
|
@ -18,7 +18,7 @@ class NBodyPhaseSpace(AngleEnergy):
|
|||
atomic_weight_ratio : float
|
||||
Atomic weight ratio of target nuclide
|
||||
q_value : float
|
||||
Q value for reaction in MeV
|
||||
Q value for reaction in MeV or eV, depending on the data source.
|
||||
|
||||
Attributes
|
||||
----------
|
||||
|
|
@ -29,7 +29,7 @@ class NBodyPhaseSpace(AngleEnergy):
|
|||
atomic_weight_ratio : float
|
||||
Atomic weight ratio of target nuclide
|
||||
q_value : float
|
||||
Q value for reaction in MeV
|
||||
Q value for reaction in MeV or eV, depending on the data source.
|
||||
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -663,9 +663,7 @@ class Reaction(EqualityMixin):
|
|||
mt : int
|
||||
The ENDF MT number for this reaction.
|
||||
q_value : float
|
||||
The Q-value of this reaction in MeV.
|
||||
threshold : float
|
||||
Threshold of the reaction in MeV
|
||||
The Q-value of this reaction in MeV or eV, depending on the data source.
|
||||
xs : dict of str to openmc.data.Function1D
|
||||
Microscopic cross section for this reaction as a function of incident
|
||||
energy; these cross sections are provided in a dictionary where the key
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ cdef extern from "complex.h":
|
|||
double complex cexp(double complex)
|
||||
|
||||
# Physical constants are from CODATA 2014
|
||||
cdef double NEUTRON_MASS_ENERGY = 939.5654133e6 # MeV/c^2
|
||||
cdef double HBAR_C = 197.3269788e5 # MeV-b^0.5
|
||||
cdef double NEUTRON_MASS_ENERGY = 939.5654133e6 # eV/c^2
|
||||
cdef double HBAR_C = 197.3269788e5 # eV-b^0.5
|
||||
|
||||
|
||||
@cython.cdivision(True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue