Module interaction

Module interaction 

Source
Expand description

Dense solves of (I - T C) X = T B through one LU factorization of I - T C.

interaction returns the full interacting T-matrix X = (I - T C)โปยน T. InteractionFactor keeps the factorization and solves only requested incident fields B, any number of times.

Upstream: treams.TMatrix.interaction.solve() for interaction. InteractionFactor is a treams-rs extension.

Modulesยง

state ๐Ÿ”’
Array-owned interaction factors and fields, a treams-rs extension.

Structsยง

IlluminateGradient
Gradients of the local T-matrix, the coupling and the incident fields of an IlluminateResidual.
IlluminateResidual
What InteractionFactor::record saves for its pullback: the shared factor and the total incident response B + C X and scattered fields of the requested columns.
InteractionFactor
The LU factorization of I - T C, kept with the local T-matrix T and the coupling C, for any number of incident-field solves.
InteractionGradient
Gradients of the inputs of interaction, in the order of its arguments.
InteractionResidual
What interaction saves for its pullback: the factorization of I - T C and the interacting T-matrix X.
LocalMatrix ๐Ÿ”’
Block-diagonal local T-matrix; a dense local matrix is a single block.

Functionsยง

interaction
Solve a multiple-scattering system for the interacting T-matrix X = (I - T C)โปยน T, keeping its LU factorization for the pullback.
interaction_blocks ๐Ÿ”’
interaction for a block-diagonal T given by its particle blocks, which are never expanded to a dense matrix for the factorization.
operator ๐Ÿ”’
I - T C for a finite coupling of matching size.
solve_interacting ๐Ÿ”’