mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Move sample_neutron_reaction and create_fission_sites to C++
This commit is contained in:
parent
2942790afc
commit
8859714592
7 changed files with 260 additions and 310 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "openmc/eigenvalue.h"
|
||||
#include "openmc/error.h"
|
||||
#include "openmc/message_passing.h"
|
||||
#include "openmc/nuclide.h"
|
||||
#include "openmc/output.h"
|
||||
#include "openmc/particle.h"
|
||||
#include "openmc/random_lcg.h"
|
||||
|
|
@ -100,6 +101,7 @@ int openmc_simulation_init()
|
|||
|
||||
// Call Fortran initialization
|
||||
simulation_init_f();
|
||||
set_micro_xs();
|
||||
|
||||
// Reset global variables -- this is done before loading state point (as that
|
||||
// will potentially populate k_generation and entropy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue