Merge pull request #2348 from cfichtlscherer/prompt_neutrons

Prompt neutrons 2.0
This commit is contained in:
Paul Romano 2023-01-13 09:44:44 +07:00 committed by GitHub
commit 1cdb37a05c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 51 additions and 2 deletions

View file

@ -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")) {