Skip to main content

Module model

Module model 

Source
Expand description

Choosing the ELF-extension model per material.

PennAlgorithm names the three models (the single-pole approximation, super::penn::SinglePolePenn, the full Penn algorithm, super::full_penn::FullPenn, and the Mermin-ELF oscillator fit, super::mermin::MerminPenn); PennInelastic holds one of them built from one material’s optical ELF and gives all the same interface. The choice is made per material (one PennInelastic per OpticalElf) and is recorded in the metadata of whatever is derived from it: PennInelastic::model_identity is the string for the model field of a crate::electron::data::CrossSectionTable, and it includes the algorithm’s label, so a table cannot be mistaken for one of the other algorithm.

Enums§

PennAlgorithm
Which ELF-extension model to use.
PennInelastic
One of the three models, built from one material’s optical ELF.