openmc.deplete.d1s.prepare_tallies
- openmc.deplete.d1s.prepare_tallies(model: Model, nuclides: list[str] | None = None, chain_file: str | None = None) list[str][source]
Prepare tallies for the D1S method.
This function adds a
ParentNuclideFilterto any tally that has a particle filter with a single ‘photon’ bin.- Parameters:
model (openmc.Model) – Model to prepare tallies for
nuclides (list of str, optional) – Nuclides to use for the parent nuclide filter. If None, radionuclides are determined from
get_radionuclides().chain_file (str, optional) – Chain file to use for inspecting decay data. If None, defaults to
openmc.config['chain_file']
- Returns:
List of parent nuclides being filtered on
- Return type: