OpenMD 3.1
Molecular Dynamics in the Open
|
Public Member Functions | |
PotentialEnergyObjectiveFunction (SimInfo *info, ForceManager *forceMan) | |
RealType | value (const DynamicVector< RealType > &x) |
method to overload to compute the objective function value in x | |
void | gradient (DynamicVector< RealType > &grad, const DynamicVector< RealType > &x) |
method to overload to compute grad_f, the first derivative of | |
RealType | valueAndGradient (DynamicVector< RealType > &grad, const DynamicVector< RealType > &x) |
method to overload to compute grad_f, the first derivative | |
DynamicVector< RealType > | setInitialCoords () |
Public Member Functions inherited from QuantLib::ObjectiveFunction | |
virtual RealType | finiteDifferenceEpsilon () const |
Default epsilon for finite difference method : | |
Definition at line 56 of file PotentialEnergyObjectiveFunction.hpp.
OpenMD::PotentialEnergyObjectiveFunction::PotentialEnergyObjectiveFunction | ( | SimInfo * | info, |
ForceManager * | forceMan ) |
Definition at line 53 of file PotentialEnergyObjectiveFunction.cpp.
|
virtual |
method to overload to compute grad_f, the first derivative of
Reimplemented from QuantLib::ObjectiveFunction.
Definition at line 81 of file PotentialEnergyObjectiveFunction.cpp.
DynamicVector< RealType > OpenMD::PotentialEnergyObjectiveFunction::setInitialCoords | ( | ) |
Definition at line 205 of file PotentialEnergyObjectiveFunction.cpp.
|
virtual |
method to overload to compute the objective function value in x
Implements QuantLib::ObjectiveFunction.
Definition at line 71 of file PotentialEnergyObjectiveFunction.cpp.
|
virtual |
method to overload to compute grad_f, the first derivative
Reimplemented from QuantLib::ObjectiveFunction.
Definition at line 91 of file PotentialEnergyObjectiveFunction.cpp.