mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Fix diff material bug
This commit is contained in:
parent
509c4150d3
commit
4942a2b19b
1 changed files with 2 additions and 1 deletions
|
|
@ -758,7 +758,8 @@ contains
|
|||
select case (t % estimator)
|
||||
|
||||
case (ESTIMATOR_ANALOG)
|
||||
if (p % event_nuclide == t % deriv % diff_nuclide) then
|
||||
if (materials(p % material) % id == t % deriv % diff_material &
|
||||
.and. p % event_nuclide == t % deriv % diff_nuclide) then
|
||||
associate(mat => materials(p % material))
|
||||
do l = 1, mat % n_nuclides
|
||||
if (mat % nuclide(l) == t % deriv % diff_nuclide) exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue