xnn.ffnn.models.amoeba.amoeba_pair_block#

xnn.ffnn.models.amoeba.amoeba_pair_block(R, r_vec, scales, q_i, q_k, d_i, d_k, Q_i, Q_k, i_, k_, N, keep, alpha_e, alpha_p, thole)[source]#

The AMOEBA multipole pairs as one function of per-pair tensors: the permanent multipole energies (per pair and summed to the atoms) and, with thole = (alpha_i, alpha_k, thole_i, thole_k), the real-space permanent fields and mutual ladder of the induction (_real_space_fields()). keep, alpha_e and alpha_p are the Ewald inputs of cells (None for molecules).

Parameters:

N (int)

Return type:

dict