mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
add clarifying comment to _IndependentRateHelper
This commit is contained in:
parent
672293a310
commit
6bd4a71341
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue