mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Combing for fission site sampling, and delayed neutron emission time (#2992)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com> Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
007ac8148b
commit
ecb0a3361f
241 changed files with 11472 additions and 11352 deletions
|
|
@ -114,6 +114,7 @@ int max_order {0};
|
|||
int n_log_bins {8000};
|
||||
int n_batches;
|
||||
int n_max_batches;
|
||||
int max_secondaries {10000};
|
||||
int max_history_splits {10'000'000};
|
||||
int max_tracks {1000};
|
||||
ResScatMethod res_scat_method {ResScatMethod::rvs};
|
||||
|
|
@ -1144,6 +1145,11 @@ void read_settings_xml(pugi::xml_node root)
|
|||
weight_windows_on = get_node_value_bool(root, "weight_windows_on");
|
||||
}
|
||||
|
||||
if (check_for_node(root, "max_secondaries")) {
|
||||
settings::max_secondaries =
|
||||
std::stoi(get_node_value(root, "max_secondaries"));
|
||||
}
|
||||
|
||||
if (check_for_node(root, "max_history_splits")) {
|
||||
settings::max_history_splits =
|
||||
std::stoi(get_node_value(root, "max_history_splits"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue