pub const PLACEHOLDER_DENSITY_KG_M3: f64 = 1000.0;Expand description
Mass density given to the Material built for a compound target,
kg/m³. It is a placeholder: under Bragg’s rule (W. H. Bragg and R. Kleeman,
Phil. Mag. 10, 318 (1905)) the stopping cross section per atom does not
depend on the density, and a dataset does not record one. A
CompoundCorrection used with compare must therefore not depend on
Material::mass_density; it can identify the compound by
Material::name, which is set to the formula as written in the file.