13#ifndef SANDALS_RK4_HXX
14#define SANDALS_RK4_HXX
46 this->
type = Type::ERK;
48 this->
A << 0.0, 0.0, 0.0, 0.0,
49 1.0/2.0, 0.0, 0.0, 0.0,
50 0.0, 1.0/2.0, 0.0, 0.0,
52 this->
b << 1.0/6.0, 1.0/3.0, 1.0/3.0, 1.0/6.0;
53 this->
c << 0.0, 1.0/2.0, 1.0/2.0, 1.0;
64 template <Integer N, Integer M = 0>
std::shared_ptr< Implicit< N, M > > Pointer
Definition Implicit.hxx:42
RK4(System t_system)
Definition RK4.hxx:79
RK4()
Definition RK4.hxx:73
typename Implicit< N, M >::Pointer System
Definition RK4.hxx:68
Butcher tableau for the Runge-Kutta order 4 method.
Definition RK4.hxx:35
RK4Tableau()
Definition RK4.hxx:44
RungeKutta(const RungeKutta &)=delete
The namespace for the Sandals library.
Definition Sandals.hh:73
Struct container for the Butcher tableau of a Runge-Kutta method.
Definition Tableau.hxx:36
enum class type :Integer {ERK=0, IRK=1, DIRK=2} Type
Definition Tableau.hxx:37
Eigen::Matrix< Real, S, S > Matrix
Definition Tableau.hxx:39
Integer order
Definition Tableau.hxx:43
Type type
Definition Tableau.hxx:42
Eigen::Vector< Real, S > Vector
Definition Tableau.hxx:38
Matrix A
Definition Tableau.hxx:45
std::string name
Definition Tableau.hxx:41
Vector b
Definition Tableau.hxx:46
Vector c
Definition Tableau.hxx:48