Skip to content

Commit

Permalink
Add averageByComponent to perturbed XS block collection
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjarrett committed Feb 21, 2024
1 parent 0668e8c commit 8d2d656
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion armi/physics/neutronics/crossSectionGroupManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,8 @@ def createRepresentativeBlocksUsingExistingBlocks(
oldXSID = origXSIDsFromNew[newXSID]
oldBlockCollection = blockCollectionByXsGroup[oldXSID]
newBlockCollection = oldBlockCollection.__class__(
oldBlockCollection.allNuclidesInProblem
oldBlockCollection.allNuclidesInProblem,
averageByComponent=oldBlockCollection.averageByComponent,
)
newBlockCollectionsByXsGroup[newXSID] = newBlockCollection
return newBlockCollectionsByXsGroup, modifiedReprBlocks, origXSIDsFromNew
Expand Down

0 comments on commit 8d2d656

Please sign in to comment.