mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
old changes for delayed neutron feature
This commit is contained in:
parent
9d86274fcc
commit
e266bb15bf
6 changed files with 45 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};
|
||||
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue