mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Don't convert surface ids if surface filter is for current tallies. Closes #157 on github.
This commit is contained in:
parent
399694ed82
commit
49c36b2e95
1 changed files with 3 additions and 0 deletions
|
|
@ -540,6 +540,9 @@ contains
|
|||
|
||||
case (FILTER_SURFACE)
|
||||
|
||||
! Check if this is a surface filter only for surface currents
|
||||
if (any(t % score_bins == SCORE_CURRENT)) cycle FILTER_LOOP
|
||||
|
||||
do k = 1, t % filters(j) % n_bins
|
||||
id = t % filters(j) % int_bins(k)
|
||||
if (surface_dict % has_key(id)) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue