OpenMD 3.1
Molecular Dynamics in the Open
|
Public Member Functions | |
BoxObjectiveFunction (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 BoxObjectiveFunction.hpp.
OpenMD::BoxObjectiveFunction::BoxObjectiveFunction | ( | SimInfo * | info, |
ForceManager * | forceMan ) |
Definition at line 51 of file BoxObjectiveFunction.cpp.
|
virtual |
method to overload to compute grad_f, the first derivative of
Reimplemented from QuantLib::ObjectiveFunction.
Definition at line 84 of file BoxObjectiveFunction.cpp.
References OpenMD::SimInfo::getSnapshotManager().
DynamicVector< RealType > OpenMD::BoxObjectiveFunction::setInitialCoords | ( | ) |
Definition at line 196 of file BoxObjectiveFunction.cpp.
|
virtual |
method to overload to compute the objective function value in x
Implements QuantLib::ObjectiveFunction.
Definition at line 69 of file BoxObjectiveFunction.cpp.
References OpenMD::SimInfo::getSnapshotManager().
|
virtual |
method to overload to compute grad_f, the first derivative
Reimplemented from QuantLib::ObjectiveFunction.
Definition at line 100 of file BoxObjectiveFunction.cpp.
References OpenMD::SimInfo::getSnapshotManager().