pele.potentials.BasePotential#
- class pele.potentials.BasePotential[source]#
Base class for all potentials
Derived classes must overload getEnergy(). It is also highly recommended to overload getEnergyGradient(), otherwise gradients will be calculated numerically
getEnergyGradient()
Methods
|
return the gradient calculated numerically |
|
return the Hessian matrix of second derivatives computed numerically |
|
return the energy at the given coordinates |
|
return the energy and gradient at the given coordinates |
|
return the energy, gradient, and Hessian at the given coordinates |
|
|
|
return the gradient at the given coordinates |
|
return the hessian |
|
print some information testing whether the analytical gradients are correct |
Attributes