Abstract class for generating reaction rates for operators
Responsible for generating reaction rate tallies for burnable materials, given nuclides and scores from the operator.
Reaction rates are passed back to the operator for be used in an
nuclides (list of str) – All nuclides with desired reaction rates.
Normalize reaction rates by number of nuclides
Acts on the current material examined by
Parameters: number (iterable of float) – Number density [atoms/b-cm] of each nuclide tracked in the calculation. Returns: results – Array of reactions rates of shape
(n_nuclides, n_rxns)normalized by the number of nuclides
Return type: numpy.ndarray
Use the C API to build tallies needed for reaction rates
get_material_rates(mat_id, nuc_index, react_index)¶
Return 2D array of [nuclide, reaction] reaction rates
- mat_id (int) – Unique ID for the requested material
- nuc_index (list of str) – Ordering of desired nuclides
- react_index (list of str) – Ordering of reactions
List of nuclides with requested reaction rates