old changes for delayed neutron feature

This commit is contained in:
Christopher Fichtlscherer 2023-01-11 14:50:06 -05:00
parent 9d86274fcc
commit e266bb15bf
6 changed files with 45 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};
@ -872,6 +873,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")) {