valSPH
 All Classes Files Functions Variables
RK4Solver.h
Go to the documentation of this file.
1 
10 #ifndef __RK4Solver_h__
11 #define __RK4Solver_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 RK4Solver : public OdeSolver {
24 
25 
26  private:
27 
28 
29  public:
30 
31 
35  RK4Solver();
36 
37 
48  vector<double> solve(Equation *eq, vector<double> X0, double h, double ti);
49 
50 
54  ~RK4Solver();
55 
56 
57 };
58 
59 
60 #endif