mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 12:35:29 -04:00
Merge branch 'develop' into mixed_ncrystal_pr
This commit is contained in:
commit
b6d6bdf3f5
166 changed files with 7699 additions and 4693 deletions
|
|
@ -141,6 +141,12 @@ void read_plots_xml()
|
|||
doc.load_file(filename.c_str());
|
||||
|
||||
pugi::xml_node root = doc.document_element();
|
||||
|
||||
read_plots_xml(root);
|
||||
}
|
||||
|
||||
void read_plots_xml(pugi::xml_node root)
|
||||
{
|
||||
for (auto node : root.children("plot")) {
|
||||
model::plots.emplace_back(node);
|
||||
model::plot_map[model::plots.back().id_] = model::plots.size() - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue