Namespace energy_min and energy_max

This commit is contained in:
Paul Romano 2018-11-08 15:04:24 -06:00
parent c301612ca2
commit c9bd707f04
4 changed files with 15 additions and 7 deletions

View file

@ -14,11 +14,15 @@ namespace openmc {
// Global variables
//==============================================================================
namespace data {
// Minimum/maximum transport energy for each particle type. Order corresponds to
// that of the ParticleType enum
extern std::array<double, 2> energy_min;
extern std::array<double, 2> energy_max;
} // namespace data
//===============================================================================
//! Cached microscopic cross sections for a particular nuclide at the current
//! energy