mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Limit number of lost particles written to disk. (#2688)
Co-authored-by: John Tramm <john.tramm@gmail.com> Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
989875b070
commit
d765bd031f
7 changed files with 103 additions and 2 deletions
|
|
@ -82,6 +82,9 @@ extern "C" int32_t max_lost_particles; //!< maximum number of lost particles
|
|||
extern double
|
||||
rel_max_lost_particles; //!< maximum number of lost particles, relative to the
|
||||
//!< total number of particles
|
||||
extern "C" int32_t
|
||||
max_write_lost_particles; //!< maximum number of lost particles
|
||||
//!< to be written to files
|
||||
extern "C" int32_t gen_per_batch; //!< number of generations per batch
|
||||
extern "C" int64_t n_particles; //!< number of particles per generation
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue