mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Add user setting for free gas threshold (#3593)
This commit is contained in:
parent
50071aa3bd
commit
2c15480cc9
8 changed files with 49 additions and 8 deletions
|
|
@ -10,13 +10,6 @@
|
|||
|
||||
namespace openmc {
|
||||
|
||||
//==============================================================================
|
||||
// Constants
|
||||
//==============================================================================
|
||||
|
||||
// Monoatomic ideal-gas scattering treatment threshold
|
||||
constexpr double FREE_GAS_THRESHOLD {400.0};
|
||||
|
||||
//==============================================================================
|
||||
// Non-member functions
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -147,6 +147,8 @@ extern std::unordered_set<int>
|
|||
source_write_surf_id; //!< Surface ids where sources will be written
|
||||
extern double source_rejection_fraction; //!< Minimum fraction of source sites
|
||||
//!< that must be accepted
|
||||
extern double free_gas_threshold; //!< Threshold multiplier for free gas
|
||||
//!< scattering treatment
|
||||
|
||||
extern int
|
||||
max_history_splits; //!< maximum number of particle splits for weight windows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue