particle_cluster

Function particle_cluster 

Source
pub fn particle_cluster(
    local: Vec<DMatrix<Complex>>,
    basis: Basis,
    ks: [Complex; 2],
    helicity: bool,
) -> Result<ParticleClusterResidual>
Expand description

Couple the spherical T-matrices of different particles in a common embedding medium and solve for the interacting T-matrix.

Basis modes must be grouped in particle order, matching the local blocks. The caller ensures the particles’ enclosing spheres do not overlap.

Upstream: treams.TMatrix.cluster(tmats, positions).interaction.solve().