mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Addressing a few more comments in C++ code
This commit is contained in:
parent
366f9e905c
commit
1e6cb68ea4
1 changed files with 5 additions and 1 deletions
|
|
@ -358,8 +358,12 @@ bool read_model_xml() {
|
|||
fatal_error(
|
||||
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_materials_xml(root.child("materials"));
|
||||
|
||||
// Read geometry
|
||||
|
|
@ -411,7 +415,7 @@ void read_separate_xml_files()
|
|||
}
|
||||
|
||||
void initial_output() {
|
||||
// handle some final output
|
||||
// write initial output
|
||||
if (settings::run_mode == RunMode::PLOTTING) {
|
||||
// Read plots.xml if it exists
|
||||
if (mpi::master && settings::verbosity >= 5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue