sphere_cluster_factor

Function sphere_cluster_factor 

Source
pub fn sphere_cluster_factor(
    lmax: u32,
    k0: f64,
    radii: &[f64],
    epsilon: &[Complex],
    positions: &[[f64; 3]],
) -> Result<InteractionFactor>
Expand description

Assemble and factor a sphere cluster for repeated requested illuminations.

The returned factor differentiates the local T blocks, the coupling and the incident fields. Use IterativeSphereCluster for the gradients of the radii, permittivities and positions.

treams-rs extension.