| 6 |
|
#include "SRI.hpp" |
| 7 |
|
#include "AbstractClasses.hpp" |
| 8 |
|
#include "SimInfo.hpp" |
| 9 |
+ |
#include "ForceField.hpp" |
| 10 |
|
|
| 11 |
|
class Verlet : public Integrator { |
| 12 |
|
|
| 13 |
|
public: |
| 14 |
< |
Verlet( SimInfo &info ); |
| 14 |
> |
Verlet( SimInfo &info, ForceField* the_ff ); |
| 15 |
|
~Verlet(); |
| 16 |
|
void integrate( void ); |
| 16 |
– |
void integrate_b( double time_length, double dt, |
| 17 |
– |
int n_bond_0, int n_bond_f, |
| 18 |
– |
int n_bend_0, int n_bend_f, |
| 19 |
– |
int n_torsion_0, int n_trosion_f, |
| 20 |
– |
bool do_bonds, bool do_bends, bool do_torsions, |
| 21 |
– |
bool do_LRI ); |
| 17 |
|
|
| 18 |
|
private: |
| 19 |
|
|
| 20 |
|
void move_a( double dt ); |
| 21 |
|
void move_b( double dt ); |
| 22 |
|
|
| 23 |
+ |
ForceField* myFF; |
| 24 |
+ |
|
| 25 |
|
SimInfo *entry_plug; // all the info we'll ever need |
| 26 |
|
int c_natoms; /* the number of atoms */ |
| 27 |
|
Atom **c_atoms; /* array of atom pointers */ |