The same as NeighborListSubset except only do the building.
This class will build the neighbor lists, but can’t check whether they need to be rebuilt. This is meant to be used in situations where multiple neighbor lists are being maintained and we don’t want to do repetative checks for whether the lists should be rebuilt
It has the added benefit that no copy of coords is saved, so it takes up less memory.
Parameters : | natoms :
rcut :
rskin :
Alist :
Blist : the list of atoms that are interacting with Alist
boxl :
|
---|
Methods
NumericalDerivative(coords[, eps]) | return the gradient calculated numerically |
NumericalHessian(coords[, eps]) | return the Hessian matrix of second derivatives computed numerically |
buildList(coords) | |
getEnergy(coords) | return the energy at the given coordinates |
getEnergyGradient(coords) | return the energy and gradient at the given coordinates |
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 |
test_potential(coords[, eps]) | print some information testing whether the analytical gradients are correct |