Skip to main content

Crate refloxide_tmm

Crate refloxide_tmm 

Source
Expand description

Transfer-matrix reflectivity kernels and CPU drivers.

kernel holds the backend-agnostic per-point solvers (uniaxial-z recursion, R-matrix, full general 4x4, forward-mode tangents), uniaxial and general_stack validate inputs and drive them over q-points, energies, and stacks with optional rayon parallelism, and bookended builds graded book-ended film stacks and solves them.

It does not own shared types ([refloxide_core]), optical-constant handling ([refloxide_optics]), the GPU backend, or any Python binding.

Re-exports§

pub use bookended::adaptive_microslab_thicknesses;
pub use bookended::bookended_uniaxial_reflectivity;
pub use bookended::build_bookended_film_stack;
pub use bookended::density_profile_bookended;
pub use bookended::orientation_profile_bookended;
pub use bookended::BookendedParams;
pub use general_stack::general_reflectivity;
pub use uniaxial::uniaxial_reflectivity;
pub use uniaxial::uniaxial_reflectivity_batch;
pub use uniaxial::uniaxial_reflectivity_points;

Modules§

bookended
Book-ended graded film profiles and fused uniaxial reflectivity evaluation.
general_stack
General anisotropic stack reflectivity over a q-grid.
kernel
Backend-agnostic uniaxial transfer-matrix core.
uniaxial
Uniaxial 4x4 transfer matrix kernel.

Structs§

Layer
One slab in a stratified medium.
UniaxialBatchOutput
Batched polarized reflectance and transmission over energies and q-points.
UniaxialOutput
Polarized reflectance and amplitude transmission for a single energy.