Expand description
The electron run description: one TOML document whose [electron] table
describes the beam, the transport choices, the elastic and inelastic
models, the per-material electron data and the tallies, next to the same
[materials] and [target] tables as an ion run.
This module only exposes what the library already does
(crate::electron, crate::tally::electron); it adds no physics. The
schema is documented, with the rules for extending it, in docs/cli.md
(section “Electron runs”). In short:
[electron.beam]
energy_ev = 10000.0
[electron.transport]
cutoff_ev = 50.0
[electron.elastic]
potential = "thomas-fermi-yukawa"
[electron.materials.Si]
optical_elf = "si_elf.toml"
[target]
substrate = "Si"
[run]
histories = 1000
seed = 1ElectronInput::resolve_in validates the description, reads the data
files it names and checks their provenance with the loaders of
crate::electron::data (an optical ELF without a provenance is refused;
so are band, phonon and polaron parameters without one), and returns the
engine’s types (ResolvedElectron). Building the cross-section tables
and running the transport is the caller’s (lindhard-cli).
Like the ion input, every table rejects unknown keys and the echoed input
(ResolvedElectron::input) has every default filled in, so a result can be
reproduced from its own header.
Structs§
- BinsNm
- A uniform binning in nm.
- Cartesian
Spec [electron.tally.cartesian].- Correlation
Polarization Spec [electron.elastic.correlation_polarization].- Cylindrical
Spec [electron.tally.cylindrical].- Data
File - A data file a run read, identified for provenance.
- Dose
Spec [electron.tally.dose]: dose in each layer per unit incident fluence (always on once the table is present), optional depth-dose profile and interface transmission.- EPair
Spec [electron.materials.<name>.e_pair]: the energy needed per electron-hole pair, a per-material input that must carry its citation (for example the Klein 1968 rule for a semiconductor, or a measured value for SiO2). Pairs per incident electron are the ionisation energy divided by it, a post-processing step; nothing in transport depends on it.- Elastic
Choice - The elastic choices after validation.
- Elastic
Spec [electron.elastic].- Electron
Beam Spec [electron.beam].- Electron
Input - The whole electron run description.
- Electron
Material Spec [electron.materials.<name>]: the electron data of one material.- Electron
RunSpec [run]of an electron run.- Electron
Spec [electron].- Electron
Tally Spec [electron.tally].- Exposure
Spec [electron.tally.exposure]: the per-electron deposit in target volumes and the compound-Poisson distribution of a finite exposure (crate::tally::exposure).- Exposure
Volume Spec - One
[[electron.tally.exposure.volumes]]entry. - Inelastic
Spec [electron.inelastic].- Inner
Shells Spec [electron.materials.<name>.inner_shells]: inner-shell ionisation channels of this material (single-pole Penn only). Each listed subshell of every element of the material becomes a channel with a hydrogenic optical ELF (crate::electron::inelastic::hydrogenic_shell_elfs) built from a binding-energy table (crate::electron::data::SubshellBindingTable).- Mermin
FitSpec [electron.materials.<name>.mermin_fit]: the options of the oscillator fit of themermin-melfmodel to this material’s optical ELF (MerminFitOptions,crate::electron::inelastic::fit_mermin_oscillators). Absent: exactlyMerminFitOptions::default. Onlyn_oscillatorsandweightingare exposed; the starting point and the iteration cap keep their defaults.- Phonon
Spec - A Fröhlich LO-phonon channel: explicit parameters, or a preset the library carries with its citation.
- Polarizability
Spec - One element’s dipole polarizability and its source.
- Polaron
Spec - A polaron-trapping channel (
PolaronTrapping). - PsfSpec
[electron.tally.psf]: the radial profile of the energy deposited in a depth slab, on log radial bins, and the PSF fits to it (crate::tally::psf).- ResolvedE
Pair E_pairof a material, validated.- Resolved
Electron - A validated electron input, in the engine’s types.
- Resolved
Electron Material - The electron data of one material after loading and validation.
- Resolved
Inner Shells - The inner-shell channels of one material after loading and validation.
- Table
Grid Spec [electron.tables]: the energy grid both tables of every layer share.- Transport
Spec [electron.transport]: theTransportConfig.
Enums§
- Band
Spec - Band parameters of a material (
BandStructure). - Beam
Profile Spec [electron.beam.profile]: the lateral profile of the beam on the front face, selected bymodel; lengths in nm.- Boundary
Choice - Face model.
- Cutoff
Reference Choice - Where the cutoff is measured from.
- Elastic
Model Choice - Elastic model. Only the Mott cross section from the radial-Dirac partial waves exists.
- Escape
Rule Choice - Escape rule at the faces.
- Exposure
Beam Spec - Beam profile of
[electron.tally.exposure]. - Exposure
Shape Spec - Shape of a volume of
[electron.tally.exposure]. - Mermin
Weighting Choice - Weighting of the residuals of the Mermin oscillator fit
(
FitWeighting). - Potential
Choice - Atomic potential of the elastic model.
- PsfFit
Spec - A PSF form to fit (
fitsof[electron.tally.psf]). - PsfNormalization
Spec - How the energy scale of a PSF fit is set (
normalization). - Secondary
Choice - Secondary-electron model.