OpenMD 3.1
Molecular Dynamics in the Open
|
Public Member Functions | |
FluctuatingChargeObjectiveFunction (SimInfo *info, ForceManager *forceMan, FluctuatingChargeConstraints *fqConstraints) | |
virtual RealType | value (const DynamicVector< RealType > &x) |
method to overload to compute the objective function value in x | |
virtual void | gradient (DynamicVector< RealType > &grad, const DynamicVector< RealType > &x) |
method to overload to compute grad_f, the first derivative of | |
virtual 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 55 of file FluctuatingChargeObjectiveFunction.hpp.
OpenMD::FluctuatingChargeObjectiveFunction::FluctuatingChargeObjectiveFunction | ( | SimInfo * | info, |
ForceManager * | forceMan, | ||
FluctuatingChargeConstraints * | fqConstraints ) |
Definition at line 53 of file FluctuatingChargeObjectiveFunction.cpp.
|
virtual |
method to overload to compute grad_f, the first derivative of
Reimplemented from QuantLib::ObjectiveFunction.
Definition at line 67 of file FluctuatingChargeObjectiveFunction.cpp.
DynamicVector< RealType > OpenMD::FluctuatingChargeObjectiveFunction::setInitialCoords | ( | ) |
Definition at line 139 of file FluctuatingChargeObjectiveFunction.cpp.
|
virtual |
method to overload to compute the objective function value in x
Implements QuantLib::ObjectiveFunction.
Definition at line 59 of file FluctuatingChargeObjectiveFunction.cpp.
|
virtual |
method to overload to compute grad_f, the first derivative
Reimplemented from QuantLib::ObjectiveFunction.
Definition at line 75 of file FluctuatingChargeObjectiveFunction.cpp.