Skip to main content

solve_point_recursive

Function solve_point_recursive 

Source
pub fn solve_point_recursive<T: Real>(
    q: T,
    k0: T,
    layers: &[LayerCoeffs<T>],
) -> [[T; 2]; 2]
Expand description

Polarized power reflectance at one q-point via decoupled Parratt recursion.

For uniaxial-z media at ky = 0 the 4x4 chain is block-diagonal: s couples only to ordinary modes and p only to extraordinary modes, so R_sp = R_ps = 0 exactly and each channel reduces to a scalar recursion. Interface coefficients r_s = (k_i - k_j)/(k_i + k_j) and r_p = (z_i - z_j)/(z_i + z_j) with z = kz_e / eps_o are formed from susceptibility differences (for example k_i - k_j = k0^2 (chi_i - chi_j) / (k_i + k_j)), so the small quantities that set R are never recovered by subtracting O(1) numbers. Only decaying propagators exp(2 i kz d) enter, which keeps thick absorbing films stable. Nevot-Croce roughness multiplies each r by exp(-2 k_i k_j sigma^2).

This is the preferred reduced-precision and accelerator path. It returns reflectance only; amplitude transmission in the 4x4 normalization comes from solve_point.

§Parameters

Same as solve_point.

§Returns

Reflectance in the PointResult packing, [[R_pp, 0], [0, R_ss]].