Implement tally filter for filtering by reaction#3809
Conversation
|
How does this filter handle endf sum rules? |
|
@GuySten Great point, right now it won't work for summation reactions but I think that shouldn't be too hard to implement -- let me see what I can do. |
|
@GuySten I just implemented the capability to handle summation reactions like (n,nonelastic) |
|
For neutrons, 'total' means mt=1 while for photons 'total' means mt=501. I think that it is a bit unexpected that when tallying photon flux total will be empty. |
|
@GuySten I've just made some updates to deal with the photon total reaction (MT=501). Rather than having a separate filter by particle, now the behavior is that if the user passes "total" for a ReactionFilter, they get a warning saying that it is redundant and defaults to MT=1 but that that they should use (n,total) or photon-total to be explicit. |
Description
This PR introduces a new tally filter that allows scores to be filtered based on the reaction type. This is useful for specialized scores that don't directly represent a reaction rate, e.g., if you are tallying heating or secondary particle production.
Closes #3230
Checklist