Add setting to optionally disable atomic relaxation (#3855)

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Amanda Lund 2026-03-09 23:00:10 -05:00 committed by GitHub
parent 908e63115a
commit 1dc4aa9882
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 150 additions and 9 deletions

View file

@ -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"));