pele.potentials.LJCut.getEnergyGradientList#

LJCut.getEnergyGradientList(coords, ilist)[source]#

return the energy and gradient of select interactions defined in ilist

Parameters:
coordsarray
ilistarray, shape (*,2)

a numpy array containing pairs of atoms (ilist[i,:]).