Removed redundant storage of total fission reaction.

This commit is contained in:
Paul Romano 2012-07-23 14:26:13 -04:00
parent 3a164479d3
commit 21682f996e

View file

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