libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_rk.h
Go to the documentation of this file.
1#ifndef ODE_RK_H_
2#define ODE_RK_H_
3
4namespace ode {
5
7
9class OdeRK {
10
11 public:
13
17 OdeRK (unsigned long neq, int nk);
19 ~OdeRK ();
20
21 protected:
23 double **k_;
25 int nk_;
26
27};
28
29} // namespace ode
30
31#endif
Provides space for stage slope values, an array of arrays for k values.
Definition ode_rk.h:9
int nk_
number of stages, or k vectors
Definition ode_rk.h:25
~OdeRK()
destructs
Definition ode_rk.cc:17
double ** k_
stage evaluations
Definition ode_rk.h:23
OdeRK(unsigned long neq, int nk)
constructs
Definition ode_rk.cc:7