mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Fixed multi-group chi calculation
This commit is contained in:
parent
e0c2aace2e
commit
3e0c960648
1 changed files with 3 additions and 1 deletions
|
|
@ -1738,9 +1738,11 @@ class Chi(MultiGroupXS):
|
|||
nu_fission_in.remove_filter(energy_filter)
|
||||
|
||||
# Compute chi
|
||||
self._xs_tally = nu_fission_out / nu_fission_in
|
||||
|
||||
# Add the coarse energy filter back to the nu-fission tally
|
||||
nu_fission_in.add_filter(energy_filter)
|
||||
|
||||
self._xs_tally = nu_fission_out / nu_fission_in
|
||||
super(Chi, self).compute_xs()
|
||||
|
||||
def get_xs(self, groups='all', subdomains='all', nuclides='all',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue