| 6 |
|
#include "AbstractClasses.hpp" |
| 7 |
|
#include "SimInfo.hpp" |
| 8 |
|
#include "ForceFields.hpp" |
| 9 |
+ |
#include "ExtendedSystem.hpp" |
| 10 |
|
|
| 11 |
|
class Verlet : public Integrator { |
| 12 |
|
|
| 13 |
|
public: |
| 14 |
< |
Verlet( SimInfo &info, ForceFields* the_ff ); |
| 14 |
> |
Verlet( SimInfo &info, ForceFields* the_ff, ExtendedSystem* the_es ); |
| 15 |
|
~Verlet(); |
| 16 |
|
void integrate( void ); |
| 17 |
|
|
| 21 |
|
void move_b( double dt ); |
| 22 |
|
|
| 23 |
|
ForceFields* myFF; |
| 24 |
+ |
ExtendedSystem* myES; |
| 25 |
|
|
| 26 |
|
SimInfo *entry_plug; // all the info we'll ever need |
| 27 |
|
int c_natoms; /* the number of atoms */ |
| 45 |
|
class Symplectic : public Integrator { |
| 46 |
|
|
| 47 |
|
public: |
| 48 |
< |
Symplectic( SimInfo* the_entry_plug, ForceFields* the_ff ); |
| 48 |
> |
Symplectic( SimInfo* the_entry_plug, |
| 49 |
> |
ForceFields* the_ff, |
| 50 |
> |
ExtendedSystem* the_es); |
| 51 |
|
~Symplectic(); |
| 52 |
|
|
| 53 |
|
void integrate( void ); |
| 59 |
|
|
| 60 |
|
SimInfo* entry_plug; |
| 61 |
|
ForceFields* myFF; |
| 62 |
+ |
ExtendedSystem* myES; |
| 63 |
|
|
| 64 |
|
Molecule* molecules; |
| 65 |
|
int nMols; |