ndiffusion.reaction_rate¶
- ndiffusion.reaction_rate(flux, mats, material_map, kind='nu-fission', nu=2.43, by_group=False)[source]¶
Reaction rate density
Sigma phiper cell.- Parameters:
flux (array-like) –
(n_cells, G)as the solvers return it, or flat.mats (Materials)
material_map (array-like of int) – Material index per cell - the solver’s
medium_map, ormesh.material_idon an unstructured mesh.kind ({"nu-fission", "fission", "absorption", "removal"}) –
fissionisnusigf / nu, sinceMaterialsstores only the product.absorptionisremovalless the out-scatter.nu (float) – Neutrons per fission, used only for
kind="fission".by_group (bool) – Return
(n_cells, G)instead of summing over groups.
- Returns:
(n_cells,), or(n_cells, G)with by_group.- Return type: