mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
fix logic to avoid writing both kinds of source file
This commit is contained in:
parent
81fa3b45a3
commit
5da08f6b0e
2 changed files with 26 additions and 20 deletions
|
|
@ -654,6 +654,9 @@ void read_settings_xml()
|
|||
if (check_for_node(node_sp, "write")) {
|
||||
source_write = get_node_value_bool(node_sp, "write");
|
||||
}
|
||||
if (check_for_node(node_sp, "mcpl")) {
|
||||
source_write = get_node_value_bool(node_sp, "mcpl");
|
||||
}
|
||||
if (check_for_node(node_sp, "overwrite_latest")) {
|
||||
source_latest = get_node_value_bool(node_sp, "overwrite_latest");
|
||||
source_separate = source_latest;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue