mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Refactor read_input_xml so that all non-trivial functionality is containined in public functions.
This commit is contained in:
parent
ac808730a6
commit
adf7077a01
5 changed files with 32 additions and 28 deletions
|
|
@ -242,8 +242,7 @@ get_temperatures(std::vector<std::vector<double>>& nuc_temps,
|
|||
|
||||
//==============================================================================
|
||||
|
||||
void finalize_geometry(std::vector<std::vector<double>>& nuc_temps,
|
||||
std::vector<std::vector<double>>& thermal_temps)
|
||||
void finalize_geometry()
|
||||
{
|
||||
// Perform some final operations to set up the geometry
|
||||
adjust_indices();
|
||||
|
|
@ -253,9 +252,6 @@ void finalize_geometry(std::vector<std::vector<double>>& nuc_temps,
|
|||
// Assign temperatures to cells that don't have temperatures already assigned
|
||||
assign_temperatures();
|
||||
|
||||
// Determine desired temperatures for each nuclide and S(a,b) table
|
||||
get_temperatures(nuc_temps, thermal_temps);
|
||||
|
||||
// Determine number of nested coordinate levels in the geometry
|
||||
model::n_coord_levels = maximum_levels(model::root_universe);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue