Module spheres

Module spheres 

Source
Expand description

Dense clusters of homogeneous nonmagnetic spheres in vacuum, with gradients of the radii, permittivities and positions.

Upstream: treams.TMatrix.cluster of TMatrix.sphere T-matrices, then interaction.solve(). The gradients and the reusable factor of sphere_cluster_factor are treams-rs extensions.

Structsยง

ClusterParts ๐Ÿ”’
SphereClusterGradient
Gradients of the inputs of sphere_cluster, in the order of its arguments.
SphereClusterResidual
What sphere_cluster saves for its pullback: the Mie residual of each sphere, the translation plan between two spheres, the positions and the interaction solve.

Functionsยง

cluster_parts ๐Ÿ”’
coupling_matrix ๐Ÿ”’
Assemble complete particle columns in parallel, for either coupling values or their directional derivative. Self-couplings are exactly zero in both cases.
invalid_state ๐Ÿ”’
sphere_cluster
Solve a finite cluster of homogeneous, nonmagnetic spheres in vacuum.
sphere_cluster_factor
Assemble and factor a sphere cluster for repeated requested illuminations.
vacuum_sphere ๐Ÿ”’
The media of a homogeneous nonmagnetic sphere in vacuum.
validate_spheres ๐Ÿ”’
Check a cluster of homogeneous spheres in vacuum: a positive finite vacuum wavenumber and radii, one finite permittivity and position per sphere, and no two spheres touching or overlapping.