mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Updated documentation to reflect changes
This commit is contained in:
parent
e98d7fb28e
commit
2823dd07e9
1 changed files with 1 additions and 1 deletions
|
|
@ -618,7 +618,7 @@ and loaded at runtime. A simple example source is shown below.
|
|||
#include "openmc/particle.h"
|
||||
|
||||
// you must have external C linkage here
|
||||
extern "C" openmc::Particle::Bank sample_source() {
|
||||
extern "C" openmc::Particle::Bank sample_source(const int64_t seed) {
|
||||
openmc::Particle::Bank particle;
|
||||
// wgt
|
||||
particle.particle = openmc::Particle::Type::neutron;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue