Make sure all reaction names are recognized as valid tally scores

This commit is contained in:
Paul Romano 2020-08-27 10:28:11 -05:00
parent bf34c4bcad
commit 70d463d46c
3 changed files with 151 additions and 209 deletions

View file

@ -44,8 +44,18 @@ public:
// Non-member functions
//==============================================================================
//! Return reaction name given an ENDF MT value
//
//! \param[in] mt ENDF MT value
//! \return Name of the corresponding reaction
std::string reaction_name(int mt);
//! Return reaction type (MT value) given a reaction name
//
//! \param[in] name Reaction name
//! \return Corresponding reaction type (MT value)
int reaction_type(std::string name);
} // namespace openmc
#endif // OPENMC_REACTION_H