Emdee
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
integrator.h
Go to the documentation of this file.
1 #ifndef INTEGRATOR_H
2 #define INTEGRATOR_H
3 
4 class MoleculeSystem;
5 
6 #include <armadillo>
7 
8 using namespace arma;
9 
11 {
12 public:
13  Integrator(MoleculeSystem *moleculeSystem);
14 
15  virtual void stepForward() = 0;
16  virtual void initialize() = 0;
17  void setTimeStep(double timeStep);
18  double timeStep() {
19  return m_timeStep;
20  }
21 
22 protected:
24 
25  double m_timeStep;
26 };
27 
28 #endif // INTEGRATOR_H