mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Merge pull request #2348 from cfichtlscherer/prompt_neutrons
Prompt neutrons 2.0
This commit is contained in:
commit
1cdb37a05c
7 changed files with 51 additions and 2 deletions
|
|
@ -44,6 +44,7 @@ bool assume_separate {false};
|
|||
bool check_overlaps {false};
|
||||
bool cmfd_run {false};
|
||||
bool confidence_intervals {false};
|
||||
bool create_delayed_neutrons {true};
|
||||
bool create_fission_neutrons {true};
|
||||
bool delayed_photon_scaling {true};
|
||||
bool entropy_on {false};
|
||||
|
|
@ -873,6 +874,12 @@ void read_settings_xml(pugi::xml_node root)
|
|||
}
|
||||
}
|
||||
|
||||
// Check whether create delayed neutrons in fission
|
||||
if (check_for_node(root, "create_delayed_neutrons")) {
|
||||
create_delayed_neutrons =
|
||||
get_node_value_bool(root, "create_delayed_neutrons");
|
||||
}
|
||||
|
||||
// Check whether create fission sites
|
||||
if (run_mode == RunMode::FIXED_SOURCE) {
|
||||
if (check_for_node(root, "create_fission_neutrons")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue