def getEnergyGradient(self, coords): E, grad = _ljcut.ljenergy_gradient( coords, self.eps, self.sig, self.periodic, self.boxl, self.rcut) return E, grad
def getEnergyGradient(self, coords): natoms = len(coords) / 3 E, grad = _ljcut.ljenergy_gradient(coords, self.eps, self.sig, self.periodic, self.boxl, self.rcut, [natoms]) return E, grad
def getEnergyGradient(self, coords): E, grad = _ljcut.ljenergy_gradient(coords, self.eps, self.sig, self.periodic, self.boxl, self.rcut) return E, grad