libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_row6a.h
Go to the documentation of this file.
1#ifndef ODE_ROW6A_H_
2#define ODE_ROW6A_H_
3
5
6#include "ode_linalg.h"
7#include "ode_adaptive.h"
8#include "ode_rosenbrock.h"
9
10namespace ode {
11
13
16class OdeROW6A : public OdeAdaptive, private OdeRosenbrock {
17
18 public:
20
23 OdeROW6A (unsigned long neq);
24
25 private:
26 //function for taking a single step
27 void step_ (double dt);
28 //coefficients
29 double a21,
30 a31, a32,
31 a41, a42, a43,
32 a51, a52, a53, a54,
33 a61, a62, a63, a64, a65;
34 double c21,
35 c31, c32,
36 c41, c42, c43,
37 c51, c52, c53, c54,
38 c61, c62, c63, c64, c65;
39 double m1, m2, m3, m4, m5, m6;
40
41};
42
43} // namespace ode
44
45#endif
Base class implementing solver functions with adaptive time steps.
6th order, A-stable Rosenbrock method
Definition ode_row6a.h:16
OdeROW6A(unsigned long neq)
constructs
Definition ode_row6a.cc:7
Base class for Rosenbrock methods.