address PR comments

This commit is contained in:
Gavin Ridley 2021-04-29 16:23:54 -04:00
parent f0e1110e01
commit 061156e79a
35 changed files with 110 additions and 114 deletions

View file

@ -6,9 +6,9 @@ class CustomSource : public openmc::Source {
CustomSource(double energy) : energy_(energy) { }
// Samples from an instance of this class.
openmc::ParticleBank sample(uint64_t* seed) const
openmc::SourceSite sample(uint64_t* seed) const
{
openmc::ParticleBank particle;
openmc::SourceSite particle;
// wgt
particle.particle = openmc::ParticleType::neutron;
particle.wgt = 1.0;