mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Make regular source distributions obey the same interface as custom sources
This commit is contained in:
parent
8f71ed2a1d
commit
713469bf59
8 changed files with 38 additions and 36 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue