mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Make sure all reaction names are recognized as valid tally scores
This commit is contained in:
parent
bf34c4bcad
commit
70d463d46c
3 changed files with 151 additions and 209 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue