mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Rename divide_by_adens --> divide_by_atoms
This commit is contained in:
parent
a17fe6cc82
commit
5dc6550312
2 changed files with 5 additions and 5 deletions
|
|
@ -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`
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue