Skip to main content

build_inelastic_table

Function build_inelastic_table 

Source
pub fn build_inelastic_table(
    penn: &SinglePolePenn,
    material: &Material,
    options: &InelasticTableOptions,
) -> Result<CrossSectionTable, InelasticTableError>
Expand description

Build the inelastic energy-loss table of penn on the grid of options.

material only labels the table (its identity string); the density that sets the absolute rate is inside the optical ELF of penn (SinglePolePenn::imfp_and_stopping returns λ⁻¹ in m⁻¹ with no further input). Energies are on the axis of options.axis: kinetic energies above the model’s Fermi level by default, above the band bottom with EnergyAxis::BandBottom (module docs, “Energy axis”).