xnn.ffnn.models.amoeba_ewald.dispersion_pme#
- xnn.ffnn.models.amoeba_ewald.dispersion_pme(c, pos, cell, alpha, mesh, order)[source]#
Per-atom reciprocal energies of the
-c_i c_j / R^6Ewald sum of one periodic structure, self term included:-[1/2 c_i phi6(r_i) - alpha^6 / 12 c_i^2]withphi6the mesh potential of ther^-6kernel (k = 0included).- Parameters:
- Returns:
(N,)in the units ofc_i c_j / R^6.- Return type:
Tensor