xnn.ffnn.models.terms.solve_dipoles#
- xnn.ffnn.models.terms.solve_dipoles(A, field)[source]#
The induced dipoles
(B, n, 3)of the systemA mu = Eofpolarization_system().The matrix is symmetric positive definite unless atoms overlap (a polarization catastrophe): a Cholesky factorization solves it, an LU factorization where that fails (not tested inside a CUDA-graph capture, which reads nothing from the device).