xnn.ffnn.models.terms.polarization_system#

xnn.ffnn.models.terms.polarization_system(pos, q, alpha, damp, scale, thole, floor=1e-06)[source]#

The linear system of induced point dipoles A mu = E of isolated structures.

A holds the inverse polarizabilities on its diagonal and the damped dipole field tensor between distinct atoms; E is the field of the permanent charges (see induced_dipoles() for the damping and the arguments).

Parameters:
Returns:

A (B, 3 n, 3 n) and the field E (B, n, 3).

Return type:

tuple of Tensor