Skip to main content

uniaxial_reflectivity_points

Function uniaxial_reflectivity_points 

Source
pub fn uniaxial_reflectivity_points(
    q: &[f64],
    stack_of: &[usize],
    layers: &[Vec<Layer>],
    tensor: &[Vec<Matrix3<Complex<f64>>>],
    energies_ev: &[f64],
) -> Result<UniaxialOutput>
Expand description

GPU counterpart of refloxide_tmm::uniaxial::uniaxial_reflectivity_points.

Precision, transmission (NaN), and cross-polarized (zero) semantics are those of uniaxial_reflectivity_batch; every stack must have the same number of layers. All points run in a single dispatch.

ยงErrors

Shape and energy errors as for the CPU point kernel, RefloxideError::InvalidShape for ragged layer counts, and RefloxideError::Gpu for device failures.