1 |
|
#ifndef _INTEGRATOR_H_ |
2 |
|
#define _INTEGRATOR_H_ |
3 |
|
|
4 |
– |
#include <string> |
5 |
– |
#include <vector> |
4 |
|
#include "Atom.hpp" |
5 |
|
#include "Molecule.hpp" |
6 |
|
#include "SRI.hpp" |
100 |
|
void setTargetTemp(double tt) {targetTemp = tt; have_target_temp = 1;} |
101 |
|
void setChiTolerance(double tol) {chiTolerance = tol;} |
102 |
|
virtual double getConservedQuantity(void); |
103 |
< |
virtual string getAdditionalParameters(void); |
103 |
> |
virtual char* getAdditionalParameters(void); |
104 |
|
|
105 |
|
protected: |
106 |
|
|
130 |
|
|
131 |
|
double chiTolerance; |
132 |
|
short int have_chi_tolerance; |
133 |
+ |
|
134 |
+ |
char addParamBuffer[1000]; |
135 |
|
|
136 |
|
}; |
137 |
|
|
146 |
|
|
147 |
|
virtual void integrateStep( int calcPot, int calcStress ){ |
148 |
|
calcStress = 1; |
149 |
< |
T::integrateStep( calcPot, calcStress ); |
149 |
> |
Integrator::integrateStep( calcPot, calcStress ); |
150 |
|
} |
151 |
|
|
152 |
|
virtual double getConservedQuantity(void) = 0; |
227 |
|
double etaTolerance; |
228 |
|
short int have_eta_tolerance; |
229 |
|
|
230 |
+ |
char addParamBuffer[1000]; |
231 |
+ |
|
232 |
|
}; |
233 |
|
|
234 |
|
class NPTi : public NPT{ |