mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
fixed multigroup index mapping
This commit is contained in:
parent
1e7ea6dbad
commit
9442aa0fe0
2 changed files with 6 additions and 6 deletions
|
|
@ -460,9 +460,9 @@ contains
|
|||
|
||||
! get indices from indexmap
|
||||
g = mod(irow,ng) + 1
|
||||
i = cmfd % indexmap(irow+1,1)
|
||||
j = cmfd % indexmap(irow+1,2)
|
||||
k = cmfd % indexmap(irow+1,3)
|
||||
i = cmfd % indexmap(irow/ng+1,1)
|
||||
j = cmfd % indexmap(irow/ng+1,2)
|
||||
k = cmfd % indexmap(irow/ng+1,3)
|
||||
|
||||
else
|
||||
|
||||
|
|
|
|||
|
|
@ -281,9 +281,9 @@ contains
|
|||
|
||||
! get indices from indexmap
|
||||
g = mod(irow,ng) + 1
|
||||
i = cmfd % indexmap(irow+1,1)
|
||||
j = cmfd % indexmap(irow+1,2)
|
||||
k = cmfd % indexmap(irow+1,3)
|
||||
i = cmfd % indexmap(irow/ng+1,1)
|
||||
j = cmfd % indexmap(irow/ng+1,2)
|
||||
k = cmfd % indexmap(irow/ng+1,3)
|
||||
|
||||
else
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue