xnn.ffnn.models.amoeba.dipole_field# xnn.ffnn.models.amoeba.dipole_field(m, r, D1, D2)[source]# The field of dipoles m (..., M, 3) at the other ends of the pairs. It is T m = D_1 m + D_2 (r m) r (r m the dot product), computed without forming T. Parameters: m (Tensor) r (Tensor) D1 (Tensor) D2 (Tensor) Return type: Tensor