Skip to main content

mat_number_cendl

Function mat_number_cendl 

Source
pub fn mat_number_cendl(z: u32, a: u32) -> Option<u32>
Expand description

Look up the CENDL-3.2 MAT number for a ground-state isotope (Z, A).

CENDL-3.2 covers 258 ground-state isotopes (Z=1 H to Z=98 Cf, with Br absent) plus the free neutron, narrower coverage than both ENDF/B-VIII.0 and TENDL-2023. Returns None for isotopes outside the CENDL-3.2 neutrons sublibrary.

MAT numbers are identical to ENDF/B-VIII.0 for shared isotopes — no documented divergences (unlike TENDL-2023’s Es-255 case). Use this function when constructing CENDL-3.2 retrieval URLs.

§Examples

assert_eq!(endf_mat::mat_number_cendl(56, 138), Some(5649)); // Ba-138
assert_eq!(endf_mat::mat_number_cendl(72, 177), Some(7234)); // Hf-177
assert_eq!(endf_mat::mat_number_cendl(35, 79), None);        // Br-79: not in CENDL-3.2