13#ifndef SANDALS_RALSTON3_HH
14#define SANDALS_RALSTON3_HH
37 template <
typename Real>
49 this->
name =
"Ralston3";
50 this->
type = Type::ERK;
52 this->
A << 0.0, 0.0, 0.0,
55 this->
b << 2.0/9.0, 1.0/3.0, 4.0/9.0;
56 this->
c << 0.0, 1.0/2.0, 3.0/4.0;
68 template <
typename Real, Integer N, Integer M = 0>
std::shared_ptr< Implicit< Real, N, M > > Pointer
Definition Implicit.hh:47
Ralston3(System t_system)
Definition Ralston3.hh:83
typename Implicit< Real, N, M >::Pointer System
Definition Ralston3.hh:72
Ralston3()
Definition Ralston3.hh:77
Butcher tableau for the Ralston's order 3 method.
Definition Ralston3.hh:39
Ralston3Tableau()
Definition Ralston3.hh:48
RungeKutta(const RungeKutta &)=delete
The namespace for the Sandals library.
Definition Sandals.hh:89
Struct container for the Butcher tableau of a Runge-Kutta method.
Definition Tableau.hh:38
enum class type :Integer {ERK=0, IRK=1, DIRK=2} Type
Definition Tableau.hh:42
Type type
Definition Tableau.hh:47
Integer order
Definition Tableau.hh:48
std::string name
Definition Tableau.hh:46
Eigen::Matrix< Real, S, S > Matrix
Definition Tableau.hh:44
Matrix A
Definition Tableau.hh:50
Eigen::Vector< Real, S > Vector
Definition Tableau.hh:43
Vector c
Definition Tableau.hh:53
Vector b
Definition Tableau.hh:51