mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
parent
2b788ea6e0
commit
d643ad0c41
36 changed files with 1298 additions and 101 deletions
|
|
@ -75,6 +75,7 @@ bool trigger_predict {false};
|
|||
bool uniform_source_sampling {false};
|
||||
bool ufs_on {false};
|
||||
bool urr_ptables_on {true};
|
||||
bool use_decay_photons {false};
|
||||
bool weight_windows_on {false};
|
||||
bool weight_window_checkpoint_surface {false};
|
||||
bool weight_window_checkpoint_collision {true};
|
||||
|
|
@ -1124,6 +1125,11 @@ void read_settings_xml(pugi::xml_node root)
|
|||
get_node_value_bool(ww_checkpoints, "surface");
|
||||
}
|
||||
}
|
||||
|
||||
if (check_for_node(root, "use_decay_photons")) {
|
||||
settings::use_decay_photons =
|
||||
get_node_value_bool(root, "use_decay_photons");
|
||||
}
|
||||
}
|
||||
|
||||
void free_memory_settings()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue