Move ParticleType into Particle and use for type_ member

This commit is contained in:
Paul Romano 2019-02-27 09:00:59 -06:00
parent b4ed267d4b
commit b28ee8087c
21 changed files with 104 additions and 97 deletions

View file

@ -235,7 +235,7 @@ void read_mg_cross_sections_header()
}
// Get the minimum and maximum energies
int neutron = static_cast<int>(ParticleType::neutron);
int neutron = static_cast<int>(Particle::Type::neutron);
data::energy_min[neutron] = data::energy_bins.back();
data::energy_max[neutron] = data::energy_bins.front();