13#ifndef SANDALS_GAUSSLEGENDRE6_HH
14#define SANDALS_GAUSSLEGENDRE6_HH
45 template <
typename Real>
57 this->
name =
"GaussLegendre6";
58 this->
type = Type::IRK;
60 Real t_1{std::sqrt(15.0)/10.0};
61 Real t_2{std::sqrt(15.0)/15.0};
62 Real t_3{std::sqrt(15.0)/24.0};
63 Real t_4{std::sqrt(15.0)/30.0};
66 this->
A << w, z-t_2, w-t_4,
69 this->
b << 5.0/18.0, 4.0/9.0, 5.0/18.0;
70 this->
c << 1.0/2.0-t_1, 1.0/2.0, 1.0/2.0+t_1;
82 template <
typename Real, Integer N, Integer M = 0>
GaussLegendre6()
Definition GaussLegendre6.hh:91
GaussLegendre6(System t_system)
Definition GaussLegendre6.hh:97
typename Implicit< Real, N, M >::Pointer System
Definition GaussLegendre6.hh:86
Butcher tableau for the Gauss-Legendre order 6 method.
Definition GaussLegendre6.hh:47
GaussLegendre6Tableau()
Definition GaussLegendre6.hh:56
std::shared_ptr< Implicit< Real, N, M > > Pointer
Definition Implicit.hh:47
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