mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Merge pull request #486 from smharper/material_filter_bug
Fix material filter bug
This commit is contained in:
commit
2993228a12
1 changed files with 3 additions and 1 deletions
|
|
@ -1728,7 +1728,9 @@ contains
|
|||
p % coord(p % n_coord) % universe, i_tally)
|
||||
|
||||
case (FILTER_MATERIAL)
|
||||
if (p % material /= MATERIAL_VOID) then
|
||||
if (p % material == MATERIAL_VOID) then
|
||||
matching_bins(i) = NO_BIN_FOUND
|
||||
else
|
||||
matching_bins(i) = get_next_bin(FILTER_MATERIAL, &
|
||||
p % material, i_tally)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue