pele.utils.neighbor_list.NeighborListPotentialMulti

class pele.utils.neighbor_list.NeighborListPotentialMulti(potentials, natoms, rcut, rskin=0.5, boxl=None)[source]

A wrapper for multiple NeighborListPotentialBuild

This will wrap multiple instances of NeighborListPotentialBuild. This class will the check the coords and control when the neighbor lists are rebuilt.

Methods

NumericalDerivative(coords[, eps]) return the gradient calculated numerically
NumericalHessian(coords[, eps]) return the Hessian matrix of second derivatives computed numerically
getEnergy(coords)
getEnergyGradient(coords)
getEnergyGradientHessian(coords) return the energy, gradient, and Hessian at the given coordinates
getEnergyGradientNumerical(coords)
getGradient(coords) return the gradient at the given coordinates
getHessian(coords) return the hessian
needNewList(coords)
test_potential(coords[, eps]) print some information testing whether the analytical gradients are correct
update(coords)

Previous topic

pele.utils.neighbor_list.NeighborListPotentialBuild.test_potential

Next topic

pele.utils.neighbor_list.NeighborListPotentialMulti.NumericalDerivative