We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e7728 commit eaccbf5Copy full SHA for eaccbf5
native/include/m_driver.h
@@ -9,4 +9,19 @@ class Driver {
9
virtual ~Driver() {std::cout << "Killing base Driver\n";};
10
// Will get the parameters from a simulation class
11
void _setup(MicroSim * sim);
12
+
13
+ double * alpha;
14
+ double gamma;
15
+ double t;
16
+};
17
18
19
+class Integrator_RK4 {
20
+public:
21
+ Integrator_RK4() {};
22
+ virtual ~Integrator_RK4() {std::cout << "Killing RK4 integrator\n";};
23
+ // Will get the parameters from a simulation class
24
+ // void _setup(MicroSim * sim, Driver * driver);
25
+ std::vector<double> rk_steps; // N * 4 array
26
+ void integration_step(double (*f)(double t, double y));
27
};
0 commit comments