mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
address PR comments
This commit is contained in:
parent
f0e1110e01
commit
061156e79a
35 changed files with 110 additions and 114 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue