| 6 |
|
#include "Integrator.hpp" |
| 7 |
|
#include "MinimizerParameterSet.hpp" |
| 8 |
|
|
| 9 |
+ |
|
| 10 |
|
using namespace std; |
| 11 |
|
|
| 12 |
|
const int MIN_LSERROR = -1; |
| 23 |
|
const int LS_ERROR = -1; |
| 24 |
|
|
| 25 |
|
// base class of minimizer |
| 26 |
< |
class OOPSEMinimizer : public RealIntegrator{ |
| 26 |
> |
class ShakeMinFramework; |
| 27 |
> |
class OOPSEMinimizer : public RealIntegrator { |
| 28 |
|
public: |
| 29 |
|
|
| 30 |
|
OOPSEMinimizer(SimInfo *theInfo, ForceFields* the_ff, |
| 31 |
|
MinimizerParameterSet* param); |
| 32 |
+ |
|
| 33 |
|
virtual ~OOPSEMinimizer(); |
| 34 |
|
|
| 35 |
|
// |
| 118 |
|
bool bShake; |
| 119 |
|
|
| 120 |
|
//constraint the bonds; |
| 121 |
< |
int shakeR(); |
| 121 |
> |
//int shakeR(); |
| 122 |
|
|
| 123 |
|
//remove the force component along the bond direction |
| 124 |
< |
int shakeF(); |
| 124 |
> |
//int shakeF(); |
| 125 |
|
|
| 126 |
|
// dimension of the model |
| 127 |
|
int ndim; |
| 161 |
|
|
| 162 |
|
//calculate the dimension od the model for minimization |
| 163 |
|
void calcDim(); |
| 164 |
+ |
|
| 165 |
+ |
ShakeMinFramework* shakeAlgo; |
| 166 |
|
|
| 167 |
|
}; |
| 168 |
|
|