xnn.ffnn.models.reaxff_fast.nonbonded#
- xnn.ffnn.models.reaxff_fast.nonbonded(pos, cell, batch, src, dst, shifts, species, q, table, dtype, ke, cutoff, vdw1, safety, shield, wall, twice=False, forces=False)[source]#
The per-atom van der Waals and Coulomb energies
(N,)each indtypeof the directed pair list(src, dst)with image shiftsshifts(orNone), the species index per atom, the charges and the(S, S, NB_COLUMNS)table ofnonbonded_table();twicedifferentiable twice in the positions, charges and table (reaxff_train, the cell a constant);forcesinstead the two total energies(2,)and their position gradient(N, 3)(float64) in one pass, not differentiable.