Move openmc_tally_set_nuclides to C++

This commit is contained in:
Sterling Harper 2019-02-05 17:58:45 -05:00
parent 19e7923d08
commit 53a0dc8d97
3 changed files with 49 additions and 124 deletions

View file

@ -61,7 +61,7 @@ public:
std::vector<int> scores_; //!< Filter integrands (e.g. flux, fission)
//! Index of each nuclide to be tallied. -1 indicates total material.
std::vector<int> nuclides_;
std::vector<int> nuclides_ {-1};
//! True if this tally has a bin for every nuclide in the problem
bool all_nuclides_ {false};