Statistical weights in IndependentSource (#3195)

Co-authored-by: Paul Wilson <paul.wilson@wisc.edu>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Zoe Prieto 2024-11-22 12:16:49 -03:00 committed by GitHub
parent 172867b1df
commit ae37d6c0da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 157 additions and 30 deletions

View file

@ -72,6 +72,7 @@ bool survival_biasing {false};
bool temperature_multipole {false};
bool trigger_on {false};
bool trigger_predict {false};
bool uniform_source_sampling {false};
bool ufs_on {false};
bool urr_ptables_on {true};
bool weight_windows_on {false};
@ -786,6 +787,12 @@ void read_settings_xml(pugi::xml_node root)
sourcepoint_batch = statepoint_batch;
}
// Check is the user specified to convert strength to statistical weight
if (check_for_node(root, "uniform_source_sampling")) {
uniform_source_sampling =
get_node_value_bool(root, "uniform_source_sampling");
}
// Check if the user has specified to write surface source
if (check_for_node(root, "surf_source_write")) {
surf_source_write = true;