mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Move ParticleType into Particle and use for type_ member
This commit is contained in:
parent
b4ed267d4b
commit
b28ee8087c
21 changed files with 104 additions and 97 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue