Fixed multi-group chi calculation

This commit is contained in:
Will Boyd 2015-10-02 18:12:35 -04:00
parent e0c2aace2e
commit 3e0c960648

View file

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