xnn.common.models.dispersion_fast.atm_cpu.three_body_energy_cpu#
- xnn.common.models.dispersion_fast.atm_cpu.three_body_energy_cpu(z, edge_index, edge_vec, r, c6_mat, r0_table, s9, alp3, cutoff, width, n_atoms, plan=None)[source]#
Per-atom ATM energies
(N,)in hartree: the values ofthree_body_energy()(same arguments) on the compiled tiles.edge_indexholds the edges within the three-body cutoff,edge_vecandrtheir vectors and lengths in bohr,c6_matthe dense pair C6; gradients reachedge_vec,randc6_mat.planreuses the jobs of an unchanged edge list.