Expand description
Slab descriptions and the packing of dispersion tensors into kernel records.
Owns the plain-old-data types shared by every solver backend (Layer,
LayerCoeffs) and the wavelength conversion. It does not solve
transfer chains or validate whole stacks; see crate::validate and the
refloxide-tmm crate.
Structs§
- Layer
- One slab in a stratified medium.
- Layer
Coeffs - Per-slab coefficients consumed by the uniaxial kernel.
Constants§
- HC_
EV_ ANGSTROM - Photon energy to wavelength conversion constant in
eV * Angstrom.
Functions§
- layer_
coeffs - Packs per-slab rows and dispersion tensors into kernel
LayerCoeffs. - wavenumber
- Vacuum wavenumber
2 pi / lambdain1/Angstromfor a photon energy in eV.