libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_vern_98.h
Go to the documentation of this file.
1#ifndef ODE_VERN98_H_
2#define ODE_VERN98_H_
3
5
6#include "ode_embedded.h"
7#include "ode_rk.h"
8#include "ode_erk.h"
9
10namespace ode {
11
13
16class OdeVern98 : public OdeEmbedded, private OdeRK, private OdeERK {
17
18 public:
20
23 OdeVern98 (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, a64, a65,
34 c7, a71, a74, a75, a76,
35 c8, a81, a86, a87,
36 c9, a91, a96, a97, a98,
37 c10, a101, a106, a107, a108, a109,
38 c11, a111, a116, a117, a118, a119, a1110,
39 c12, a121, a126, a127, a128, a129, a1210, a1211,
40 c13, a131, a136, a137, a138, a139, a1310, a1311, a1312,
41 c14, a141, a146, a147, a148, a149, a1410, a1411, a1412, a1413,
42 c15, a151, a156, a157, a158, a159, a1510, a1511, a1512, a1513, a1514,
43 c16, a161, a166, a167, a168, a169, a1610, a1611, a1612, a1613,
44 b1, b8, b9, b10, b11, b12, b13, b14, b15,
45 d1, d8, d9, d10, d11, d12, d13, d16;
46};
47
48} // namespace ode
49
50#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" 9/8 pair.
Definition ode_vern_98.h:16
OdeVern98(unsigned long neq)
constructs
Definition ode_vern_98.cc:7