pub fn solve_point<T: Real>(
q: T,
k0: T,
layers: &[LayerCoeffs<T>],
) -> Result<PointResult<T>>Expand description
Solves the uniaxial transfer chain for one scattering vector.
§Parameters
q: scattering vector in1/Angstrom; clamped so that|q / (2 k0)| <= 1.k0: vacuum wavenumber2 pi / lambdain1/Angstrom, positive.layers: fronting, interior slabs, backing; length at least two.
§Errors
[RefloxideError::SingularDynamicMatrix] with the failing layer index and
q_index = usize::MAX; callers annotate the q and energy indices.