remove all occurrences of Particle::{Bank,Type}

This commit is contained in:
Gavin Ridley 2021-05-03 17:52:20 -04:00
parent 0ffe7a5d2a
commit a215e39182
3 changed files with 12 additions and 12 deletions

View file

@ -31,11 +31,11 @@ class RingSource : public openmc::Source {
}
// Samples from an instance of this class.
openmc::Particle::Bank sample(uint64_t* seed) const
openmc::SourceSite sample(uint64_t* seed) const
{
openmc::Particle::Bank particle;
openmc::SourceSite particle;
// wgt
particle.particle = openmc::Particle::Type::neutron;
particle.particle = openmc::ParticleType::neutron;
particle.wgt = 1.0;
// position
double angle = 2.0 * M_PI * openmc::prn(seed);