mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Removed redundant storage of total fission reaction.
This commit is contained in:
parent
3a164479d3
commit
21682f996e
1 changed files with 4 additions and 0 deletions
|
|
@ -638,6 +638,10 @@ contains
|
|||
! Also need to add fission cross sections to absorption
|
||||
nuc % absorption(IE:IE+NE-1) = nuc % absorption(IE:IE+NE-1) + rxn % sigma
|
||||
|
||||
! If total fission reaction is present, there's no need to store the
|
||||
! reaction cross-section since it was copied to nuc % fission
|
||||
if (rxn % MT == N_FISSION) deallocate(rxn % sigma)
|
||||
|
||||
! Keep track of this reaction for easy searching later
|
||||
i_fission = i_fission + 1
|
||||
nuc % index_fission(i_fission) = i + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue