mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Resolve conflict with weight windows and global russian roulette (#3751)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
parent
5a85bd92f2
commit
c0427dd40a
13 changed files with 748 additions and 154 deletions
|
|
@ -13,5 +13,9 @@ namespace openmc {
|
|||
//! \param[in] weight_survive Weight assigned to particles that survive
|
||||
void russian_roulette(Particle& p, double weight_survive);
|
||||
|
||||
//! \brief Performs the global russian roulette operation on a particle
|
||||
//! \param[in,out] p Particle object
|
||||
void apply_russian_roulette(Particle& p);
|
||||
|
||||
} // namespace openmc
|
||||
#endif // OPENMC_PHYSICS_COMMON_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue