mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Add setting to optionally disable atomic relaxation (#3855)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
908e63115a
commit
1dc4aa9882
12 changed files with 150 additions and 9 deletions
|
|
@ -62,6 +62,7 @@ bool output_summary {true};
|
|||
bool output_tallies {true};
|
||||
bool particle_restart_run {false};
|
||||
bool photon_transport {false};
|
||||
bool atomic_relaxation {true};
|
||||
bool reduce_tallies {true};
|
||||
bool res_scat_on {false};
|
||||
bool restart_run {false};
|
||||
|
|
@ -607,6 +608,11 @@ void read_settings_xml(pugi::xml_node root)
|
|||
}
|
||||
}
|
||||
|
||||
// Check for atomic relaxation
|
||||
if (check_for_node(root, "atomic_relaxation")) {
|
||||
atomic_relaxation = get_node_value_bool(root, "atomic_relaxation");
|
||||
}
|
||||
|
||||
// Number of bins for logarithmic grid
|
||||
if (check_for_node(root, "log_grid_bins")) {
|
||||
n_log_bins = std::stoi(get_node_value(root, "log_grid_bins"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue