Skip to content

Commit a343653

Browse files
authored
Remove unused special accessors for tallies (#3527)
1 parent a11021c commit a343653

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

include/openmc/tallies/tally.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,8 @@ class Tally {
169169
// We need to have quick access to some filters. The following gives indices
170170
// for various filters that could be in the tally or C_NONE if they are not
171171
// present.
172-
int energy_filter_ {C_NONE};
173172
int energyout_filter_ {C_NONE};
174173
int delayedgroup_filter_ {C_NONE};
175-
int cell_filter_ {C_NONE};
176174

177175
vector<Trigger> triggers_;
178176

src/tallies/tally.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,6 @@ void Tally::add_filter(Filter* filter)
487487
energyout_filter_ = filters_.size();
488488
} else if (filter->type() == FilterType::DELAYED_GROUP) {
489489
delayedgroup_filter_ = filters_.size();
490-
} else if (filter->type() == FilterType::CELL) {
491-
cell_filter_ = filters_.size();
492-
} else if (filter->type() == FilterType::ENERGY) {
493-
energy_filter_ = filters_.size();
494490
}
495491
filters_.push_back(filter_idx);
496492
}

0 commit comments

Comments
 (0)