mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Add a max_events setting. (#2945)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
cfebe16127
commit
9fd096b843
8 changed files with 59 additions and 16 deletions
|
|
@ -27,9 +27,6 @@ constexpr int MAX_DELAYED_GROUPS {8};
|
|||
|
||||
constexpr double CACHE_INVALID {-1.0};
|
||||
|
||||
// Maximum number of collisions/crossings
|
||||
constexpr int MAX_EVENTS {1000000};
|
||||
|
||||
//==========================================================================
|
||||
// Aliases and type definitions
|
||||
|
||||
|
|
|
|||
|
|
@ -93,8 +93,8 @@ extern "C" int32_t gen_per_batch; //!< number of generations per batch
|
|||
extern "C" int64_t n_particles; //!< number of particles per generation
|
||||
|
||||
extern int64_t
|
||||
max_particles_in_flight; //!< Max num. event-based particles in flight
|
||||
|
||||
max_particles_in_flight; //!< Max num. event-based particles in flight
|
||||
extern int max_particle_events; //!< Maximum number of particle events
|
||||
extern ElectronTreatment
|
||||
electron_treatment; //!< how to treat secondary electrons
|
||||
extern array<double, 4>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue