add clarifying comment to _IndependentRateHelper

This commit is contained in:
yardasol 2022-08-10 10:56:22 -05:00
parent 672293a310
commit 6bd4a71341

View file

@ -321,8 +321,10 @@ class IndependentOperator(OpenMCOperator):
nuc = self.nuc_ind_map[i_nuc]
rxn = self.rxn_ind_map[i_react]
density = self._op.number.get_atom_density(mat_id, nuc)
self._results_cache[i_nuc,
i_react] = self._op.cross_sections[rxn][nuc] * density * volume
# Sigma^j_i * V = sigma^j_i * rho * V
self._results_cache[i_nuc,i_react] = \
self._op.cross_sections[rxn][nuc] * density * volume
return self._results_cache