valSPH
All Classes Files Functions Variables
Verlet.h
Go to the documentation of this file.
1 
10 #ifndef __Verlet_h__
11 #define __Verlet_h__
12 
13 
14 #include <vector>
15 
16 #include "OdeSolver.h"
17 #include "Equation.h"
18 
19 
20 using namespace std;
21 
22 
23 class Verlet : public OdeSolver {
24 
25 
26  private:
27 
28 
29  public:
30 
31 
35  Verlet();
36 
37 
48  vector<double> solve(Equation *eq, vector<double> X0, double h, double ti);
49 
50 
54  ~Verlet();
55 
56 
57 };
58 
59 
60 #endif