mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Addressing some more PR comments. A couple of typo fixes too.
This commit is contained in:
parent
6f7a6febd3
commit
5d1ead2e6a
8 changed files with 7 additions and 16 deletions
|
|
@ -359,11 +359,7 @@ bool read_model_xml() {
|
|||
fmt::format("No <materials> node present in the {} file.", xml_filename));
|
||||
}
|
||||
|
||||
// find materials node this object cannot be used after being passed to the
|
||||
// cross section reading function below
|
||||
auto materials_node = root.child("materials");
|
||||
read_cross_sections_xml(materials_node);
|
||||
|
||||
read_cross_sections_xml(root.child("materials"));
|
||||
read_materials_xml(root.child("materials"));
|
||||
|
||||
// Read geometry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue