mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Fixed bug with probability tables (default target velocity).
This commit is contained in:
parent
c11cab0804
commit
83a803b83f
1 changed files with 2 additions and 0 deletions
|
|
@ -498,6 +498,8 @@ contains
|
|||
! Sample velocity of target nucleus
|
||||
if (.not. micro_xs(index_nuclide) % use_ptable) then
|
||||
call sample_target_velocity(p, nuc, v_t)
|
||||
else
|
||||
v_t = ZERO
|
||||
end if
|
||||
|
||||
! Velocity of center-of-mass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue