ndiffusion.normalize_to_power¶
- ndiffusion.normalize_to_power(flux, mats, material_map, volumes, total_power, kappa=3.204353268e-11, nu=2.43)[source]¶
Scale flux so the fission power integrates to total_power.
volumes comes from
cell_volumes(). The returned flux has the same shape as the input. A k-eigenvalue flux is a shape only, so this is the step that gives it units.- Raises:
ValueError – If the flux produces no fission power to scale.