pele.utils.frozen_atoms.FreezePot#
- class pele.utils.frozen_atoms.FreezePot(pot, frozen, natoms)[source]#
potential wrapper for frozen particles
the gradient will be set to zero for all frozen particles
- Parameters:
- pot
the potential object
- frozen
a list of frozen particles
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