mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -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
|
|
@ -1,7 +1,7 @@
|
|||
#include "openmc/source.h"
|
||||
#include "openmc/particle.h"
|
||||
|
||||
class Source : public openmc::CustomSource {
|
||||
class Source : public openmc::SourceDistribution {
|
||||
public:
|
||||
Source(double energy) : energy_(energy) { }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue