criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
Loading...
Searching...
No Matches
RKF.H
Go to the documentation of this file.
1
7#ifndef _RKF_H_
8#define _RKF_H_
9
10#include "Types.H"
11
12namespace criptic {
13
18 namespace rkf {
19
20 static constexpr Real ah[] =
21 { 1.0 / 4.0, 3.0 / 8.0, 12.0 / 13.0,
22 1.0, 1.0 / 2.0 };
23 static constexpr Real b3[] =
24 { 3.0 / 32.0, 9.0 / 32.0 };
25 static constexpr Real b4[] =
26 { 1932.0 / 2197.0, -7200.0 / 2197.0,
27 7296.0 / 2197.0 };
28 static constexpr Real b5[] =
29 { 8341.0 / 4104.0, -32832.0 / 4104.0, 29440.0 / 4104.0,
30 -845.0 / 4104.0 };
31 static constexpr Real b6[] =
32 { -6080.0 / 20520.0, 41040.0 / 20520.0, -28352.0 / 20520.0,
33 9295.0 / 20520.0, -5643.0 / 20520.0
34 };
35 static constexpr Real c1
36 = 902880.0 / 7618050.0;
37 static constexpr Real c3
38 = 3953664.0 / 7618050.0;
39 static constexpr Real c4
40 = 3855735.0 / 7618050.0;
41 static constexpr Real c5
42 = -1371249.0 / 7618050.0;
43 static constexpr Real c6
44 = 277020.0 / 7618050.0;
45 static constexpr Real ec[] = { 0.0,
46 1.0 / 360.0,
47 0.0,
48 -128.0 / 4275.0,
49 -2197.0 / 75240.0,
50 1.0 / 50.0,
51 2.0 / 55.0
52 };
54 }
55
56}
57
58#endif
59// _RKF_H_
Basic integer and real types.
static constexpr Real ah[]
Definition RKF.H:20
static constexpr Real c6
Definition RKF.H:44
static constexpr Real b5[]
Definition RKF.H:28
static constexpr Real b3[]
Definition RKF.H:23
static constexpr Real c5
Definition RKF.H:42
static constexpr Real c1
Definition RKF.H:36
static constexpr Real ec[]
Definition RKF.H:45
static constexpr Real c3
Definition RKF.H:38
static constexpr Real c4
Definition RKF.H:40
static constexpr Real b6[]
Definition RKF.H:31
static constexpr Real b4[]
Definition RKF.H:25
The primary namespace for criptic objects.
Definition AdvancePacket.H:25
double Real
Definition Types.H:38