Expand description
Shared foundation for the refloxide transfer-matrix crates.
Holds the scalar abstraction (Real), the slab and kernel-record
types (Layer, LayerCoeffs), result containers, input validation,
fixed-size 4x4 complex helpers (c4x4), the exact 4x4 inverse
(math), and the typed RefloxideError.
It contains no solver loops, no threading, and no Python or GPU
dependencies. Solvers live in refloxide-tmm; optical-constant handling
lives in refloxide-optics.
Re-exports§
pub use error::RefloxideError;pub use error::Result;pub use layer::layer_coeffs;pub use layer::wavenumber;pub use layer::Layer;pub use layer::LayerCoeffs;pub use layer::HC_EV_ANGSTROM;pub use output::PointsJvpOutput;pub use output::PointsTangents;pub use output::UniaxialBatchOutput;pub use output::UniaxialOutput;pub use real::Real;pub use validate::jvp_coeffs;pub use validate::validate_batch;pub use validate::validate_points;
Modules§
- c4x4
- Fixed-size 4x4 complex kernels for the uniaxial transfer chain hot path.
- error
- Error type and result alias for the refloxide kernel.
- layer
- Slab descriptions and the packing of dispersion tensors into kernel records.
- math
- Reusable numerical kernels for transfer-matrix solvers.
- output
- Result containers returned by the CPU uniaxial drivers.
- real
- Floating-point scalar abstraction for the transfer-matrix kernels.
- validate
- Shape, energy, and tangent validation shared by the CPU and GPU backends.