libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_vern_76.h
Go to the documentation of this file.
1#ifndef ODE_VERN76_H_
2#define ODE_VERN76_H_
3
5
6#include "ode_embedded.h"
7#include "ode_rk.h"
8#include "ode_erk.h"
9
10namespace ode {
11
13
16class OdeVern76 : public OdeEmbedded, private OdeRK, private OdeERK {
17
18 public:
20
23 OdeVern76 (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, a93, a94, a95, a96, a97, a98,
37 c10, a101, a103, a104, a105, a106, a107,
38 b1, b4, b5, b6, b7, b8, b9,
39 d1, d4, d5, d6, d7, d10;
40};
41
42} // namespace ode
43
44#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" 7/6 pair.
Definition ode_vern_76.h:16
OdeVern76(unsigned long neq)
constructs
Definition ode_vern_76.cc:7