mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
add a source type to the settings interface
This commit is contained in:
parent
2cbcd53f07
commit
46e648cf38
1 changed files with 3 additions and 0 deletions
|
|
@ -430,6 +430,9 @@ void read_settings_xml()
|
|||
if (check_for_node(node, "file")) {
|
||||
auto path = get_node_value(node, "file", false, true);
|
||||
model::external_sources.push_back(make_unique<FileSource>(path));
|
||||
} else if (check_for_node(node, "mcpl")) {
|
||||
auto path = get_node_value(node, "mcpl", false, true);
|
||||
model::external_sources.push_back(make_unique<MCPLFileSource>(path));
|
||||
} else if (check_for_node(node, "library")) {
|
||||
// Get shared library path and parameters
|
||||
auto path = get_node_value(node, "library", false, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue