fixed multigroup index mapping

This commit is contained in:
Bryan Herman 2012-04-04 07:39:52 -07:00
parent 1e7ea6dbad
commit 9442aa0fe0
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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