mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Move indices like tally % filter_energyin to C++
This commit is contained in:
parent
d3c41f5f8a
commit
39bd9b7b69
6 changed files with 142 additions and 41 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue