Skip to main content

layer_coeffs

Function layer_coeffs 

pub fn layer_coeffs(
    layers: &[Layer],
    tensor: &[Matrix<Complex<f64>, Const<3>, Const<3>, ArrayStorage<Complex<f64>, 3, 3>>],
) -> Vec<LayerCoeffs<f64>>
Expand description

Packs per-slab rows and dispersion tensors into kernel LayerCoeffs.

Reads the xx and zz tensor entries as the ordinary and extraordinary axes of a uniaxial-z slab; thickness and roughness come from layers.