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 of three_body_energy() (same arguments) on the compiled tiles.

edge_index holds the edges within the three-body cutoff, edge_vec and r their vectors and lengths in bohr, c6_mat the dense pair C6; gradients reach edge_vec, r and c6_mat. plan reuses the jobs of an unchanged edge list.

Parameters:
Return type:

Tensor