Rename divide_by_adens --> divide_by_atoms

This commit is contained in:
Paul Romano 2022-11-21 14:51:40 -06:00
parent a17fe6cc82
commit 5dc6550312
2 changed files with 5 additions and 5 deletions

View file

@ -265,8 +265,8 @@ class ReactionRateHelper(ABC):
Ordering of reactions
"""
def divide_by_adens(self, number):
"""Normalize reaction rates by number of nuclides
def divide_by_atoms(self, number):
"""Normalize reaction rates by number of atoms
Acts on the current material examined by :meth:`get_material_rates`

View file

@ -541,10 +541,10 @@ class OpenMCOperator(TransportOperator):
self._normalization_helper.update(
tally_rates[:, fission_ind])
# Divide by total number and store
rates[i] = self._rate_helper.divide_by_adens(number)
# Divide by total number of atoms and store
rates[i] = self._rate_helper.divide_by_atoms(number)
# Scale reaction rates to obtain units of reactions/sec
# Scale reaction rates to obtain units of reactions/sec/atom
rates *= self._normalization_helper.factor(source_rate)
# Store new fission yields on the chain