Move indices like tally % filter_energyin to C++

This commit is contained in:
Sterling Harper 2019-01-25 15:36:52 -05:00
parent d3c41f5f8a
commit 39bd9b7b69
6 changed files with 142 additions and 41 deletions

View file

@ -30,6 +30,15 @@ public:
int32_t n_filter_bins() const {return n_filter_bins_;}
// We need to have quick access to some filters. The following gives indices
// for various filters that could be in the tally or C_NONE if they are not
// present.
int energyin_filter_ {C_NONE};
int energyout_filter_ {C_NONE};
int delayedgroup_filter_ {C_NONE};
int surface_filter_ {C_NONE};
int mesh_filter_ {C_NONE};
private:
std::vector<int32_t> filters_; //< Filter indices in global filters array