mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Changed reading of probability tables (possibly problem with contiguous memory in multidimensional array).
This commit is contained in:
parent
6edd39d840
commit
276e421d77
1 changed files with 5 additions and 1 deletions
|
|
@ -930,6 +930,7 @@ contains
|
|||
integer :: M ! # of probabilities
|
||||
integer :: i ! index over incoming energies
|
||||
integer :: j ! index over values
|
||||
integer :: k ! index over probabilities
|
||||
|
||||
! determine locator for URR data
|
||||
JXS23 = JXS(23)
|
||||
|
|
@ -966,7 +967,10 @@ contains
|
|||
! read probability tables
|
||||
do i = 1, N
|
||||
do j = 1, 6
|
||||
nuc % urr_data % prob(i,j,1:M) = get_real(M)
|
||||
do k = 1, M
|
||||
nuc % urr_data % prob(i,j,k) = XSS(XSS_index)
|
||||
XSS_index = XSS_index + 1
|
||||
end do
|
||||
end do
|
||||
end do
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue