libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_vern_65.h
Go to the documentation of this file.
1#ifndef ODE_VERN65_H_
2#define ODE_VERN65_H_
3
5
6#include "ode_embedded.h"
7#include "ode_rk.h"
8#include "ode_erk.h"
9
10namespace ode {
11
13
16class OdeVern65 : public OdeEmbedded, private OdeRK, private OdeERK {
17
18 public:
20
23 OdeVern65 (unsigned long neq);
24
25 private:
26 //function for taking a single time step
27 void step_ (double dt);
28 //coefficents of tableau
29 double c2, a21,
30 c3, a31, a32,
31 c4, a41, a43,
32 c5, a51, a53, a54,
33 c6, a61, a63, a64, a65,
34 c7, a71, a73, a74, a75, a76,
35 c8, a81, a83, a84, a85, a86, a87,
36 c9, a91, a94, a95, a96, a97, a98,
37 b1, b4, b5, b6, b7, b8,
38 d1, d4, d5, d6, d8, d9;
39};
40
41} // namespace ode
42
43#endif
Base class providing space for temporary solutions moving through RK stages.
Definition ode_erk.h:9
Base clase implementing methods for embedded Runge-Kutta error estimation.
Provides space for stage slope values, an array of arrays for k values.
Definition ode_rk.h:9
Jim Verner's "most efficient" 6/5 pair.
Definition ode_vern_65.h:16
OdeVern65(unsigned long neq)
constructs
Definition ode_vern_65.cc:7