mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 12:35:29 -04:00
Change the way surface source reading flag is given
This commit is contained in:
parent
c4b39cdb6c
commit
f2bdae918c
2 changed files with 19 additions and 5 deletions
|
|
@ -81,11 +81,6 @@ IndependentSource::IndependentSource(pugi::xml_node node)
|
|||
settings::path_source));
|
||||
}
|
||||
|
||||
// Check if it is a surface source file.
|
||||
if (check_for_node(node, "surf_src_read")) {
|
||||
settings::surf_src_read = get_node_value_bool(node, "surf_src_read");
|
||||
}
|
||||
|
||||
} else if (check_for_node(node, "library")) {
|
||||
settings::path_source_library = get_node_value(node, "library", false, true);
|
||||
if (!file_exists(settings::path_source_library)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue