| 1 |
|
#include <math.h> |
| 2 |
|
#include "OOPSEMinimizer.hpp" |
| 3 |
|
#include "ShakeMin.hpp" |
| 4 |
+ |
#include "Integrator.cpp" |
| 5 |
|
|
| 6 |
|
OOPSEMinimizer::OOPSEMinimizer( SimInfo *theInfo, ForceFields* the_ff , |
| 7 |
< |
MinimizerParameterSet * param) |
| 8 |
< |
:RealIntegrator(theInfo, the_ff), bVerbose(false), bShake(true){ |
| 7 |
> |
MinimizerParameterSet * param) : |
| 8 |
> |
RealIntegrator(theInfo, the_ff), bShake(true), bVerbose(false) { |
| 9 |
|
dumpOut = NULL; |
| 10 |
|
statOut = NULL; |
| 11 |
|
|
| 550 |
|
lsTol = paramSet->getLineSearchTol(); |
| 551 |
|
|
| 552 |
|
//calculate the derivative at a = 0 |
| 553 |
+ |
slopeA = 0; |
| 554 |
|
for (size_t i = 0; i < ndim; i++) |
| 555 |
|
slopeA += curG[i]*direction[i]; |
| 556 |
|
|