ndiffusion.fission_source¶ ndiffusion.fission_source(mats, medium_map, flux)[source]¶ Public helper: fission production F phi for a solver flux. Parameters: mats (Materials) medium_map (sequence of int) – Material index per cell (mesh.material_id for unstructured). flux (array-like) – Flux shaped (n_cells, G) as the solvers return it, or flat in the same row-major order. Returns: (n_cells, G) fission source, per unit volume. Return type: numpy.ndarray