Make regular source distributions obey the same interface as custom sources

This commit is contained in:
Paul Romano 2020-10-22 15:05:43 -05:00
parent 8f71ed2a1d
commit 713469bf59
8 changed files with 38 additions and 36 deletions

View file

@ -5,7 +5,7 @@
#include "openmc/source.h"
#include "openmc/particle.h"
class Source : public openmc::CustomSource
class Source : public openmc::SourceDistribution
{
openmc::Particle::Bank sample(uint64_t* seed)
{