libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_irk.h
Go to the documentation of this file.
1#ifndef ODE_IRK_H_
2#define ODE_IRK_H_
3
4namespace ode {
5
7
9class OdeIRK {
10 public:
12
16 OdeIRK (unsigned long neq, int nk);
18 ~OdeIRK ();
19 protected:
21 int nk_;
23 double *kall_;
25 double **k_;
26};
27
28} // namespace ode
29
30#endif
Provides a large vector containing the slope values of all stages with pointers to each of the indivi...
Definition ode_irk.h:9
double ** k_
individual k arrays for each stage
Definition ode_irk.h:25
~OdeIRK()
destructs
Definition ode_irk.cc:18
OdeIRK(unsigned long neq, int nk)
constructs
Definition ode_irk.cc:7
int nk_
number of RK stages
Definition ode_irk.h:21
double * kall_
pointer to single array storing all stage k values
Definition ode_irk.h:23