mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
simplified interface for creating fission sites
This commit is contained in:
parent
b41f3aadb4
commit
58e3d3a275
4 changed files with 30 additions and 21 deletions
|
|
@ -48,8 +48,7 @@ int sample_nuclide(Particle* p);
|
|||
|
||||
//! Determine the average total, prompt, and delayed neutrons produced from
|
||||
//! fission and creates appropriate bank sites.
|
||||
void create_fission_sites(Particle* p, int i_nuclide, const Reaction* rx,
|
||||
std::vector<Particle::Bank>& bank, bool use_fission_bank);
|
||||
void create_fission_sites(Particle* p, int i_nuclide, const Reaction* rx);
|
||||
|
||||
int sample_element(Particle* p);
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ scatter(Particle* p);
|
|||
//! \param bank The particle bank to populate
|
||||
//! \param use_fission_bank Indicates if shared global fission bank should be used
|
||||
void
|
||||
create_fission_sites(Particle* p, std::vector<Particle::Bank>& bank, bool use_fission_bank);
|
||||
create_fission_sites(Particle* p);
|
||||
|
||||
//! \brief Handles an absorption event
|
||||
//! \param p Particle to operate on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue