mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
added units to speed of light constant
This commit is contained in:
parent
4900efecc2
commit
5799c05be4
2 changed files with 2 additions and 2 deletions
|
|
@ -66,7 +66,7 @@ module constants
|
|||
MASS_NEUTRON_MEV = 939.565379_8, & ! mass of a neutron in MeV/c^2
|
||||
MASS_PROTON = 1.007276466812_8, & ! mass of a proton in amu
|
||||
AMU = 1.660538921e-27_8, & ! 1 amu in kg
|
||||
C_LIGHT = 2.99792458e8_8, & ! speed of light in a vacuum
|
||||
C_LIGHT = 2.99792458e8_8, & ! speed of light in m/s
|
||||
N_AVOGADRO = 0.602214129_8, & ! Avogadro's number in 10^24/mol
|
||||
K_BOLTZMANN = 8.6173324e-11_8, & ! Boltzmann constant in MeV/K
|
||||
INFINITY = huge(0.0_8), & ! positive infinity
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ contains
|
|||
|
||||
case (SCORE_INVERSE_VELOCITY)
|
||||
if (t % estimator == ESTIMATOR_ANALOG) then
|
||||
! All events score to a inverse velocity bin. We actually use a
|
||||
! All events score to an inverse velocity bin. We actually use a
|
||||
! collision estimator in place of an analog one since there is no way
|
||||
! to count 'events' exactly for the inverse velocity
|
||||
if (survival_biasing) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue