Class GaussianPot#
Defined in File gaussianpot.hpp
Inheritance Relationships#
Base Type#
public pele::BasePotential(Class BasePotential)
Class Documentation#
-
class GaussianPot : public pele::BasePotential#
Public Functions
-
inline virtual double get_energy(Array<double> const &x)#
Return the energy of configuration x.
This is the only function which must be overloaded
- inline virtual double get_energy_gradient( )#
compute the energy and gradient.
If not overloaded it will compute the numerical gradient
- inline virtual double get_energy_gradient_hessian( )#
compute the energy and gradient and Hessian.
If not overloaded it will compute the Hessian numerically and use get_energy_gradient to get the energy and gradient.
- inline virtual double add_energy_gradient( )#
compute the energy and gradient, but don’t initialize the gradient to zero
-
inline virtual double get_energy(Array<double> const &x)#