mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Update tally_scoring.cpp
Spacing `+ f * xs.value[i_grid-xs.threshold+1];`
This commit is contained in:
parent
c83b2766e2
commit
5ffe8d3881
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ double get_nuclide_neutron_heating(const Particle* p, const Nuclide& nuc,
|
|||
|
||||
auto f = p->neutron_xs_[i_nuclide].interp_factor;
|
||||
return (1.0 - f) * xs.value[i_grid-xs.threshold]
|
||||
+ f * xs.value[i_grid-xs.threshold+1];
|
||||
+ f * xs.value[i_grid-xs.threshold+1];
|
||||
}
|
||||
|
||||
//! Helper function to obtain neutron heating [eV]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue