mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Removing special case for EnergyFunctionFilter
This commit is contained in:
parent
e2c432484e
commit
9a28bc8da1
1 changed files with 0 additions and 3 deletions
|
|
@ -1092,9 +1092,6 @@ class Tally(IDManagerMixin):
|
|||
for i, self_filter in enumerate(self.filters):
|
||||
# If a user-requested Filter, get the user-requested bins
|
||||
for j, test_filter in enumerate(filters):
|
||||
if type(self_filter) is openmc.EnergyFunctionFilter:
|
||||
indices = [self_filter.get_bin_index(None)]
|
||||
break
|
||||
if type(self_filter) is test_filter:
|
||||
bins = filter_bins[j]
|
||||
indices = np.array([self_filter.get_bin_index(b) for b in bins])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue