Rheolef
7.1
an efficient C++ finite element environment
runge_kutta_ssp.icc
The strong stability preserving Runge-Kutta scheme – coefficients
namespace
ssp
{
constexpr
size_t
pmax
= 3;
Float
alpha
[][
pmax
+1][
pmax
+1]
= { {},
{ {},
{1} },
{ {},
{1},
{1./2, 1./2} },
{ {},
{1},
{3./4, 1./4},
{1./3, 0, 2./3} } };
Float
beta
[][
pmax
+1][
pmax
+1]
= { {},
{ {},
{1} },
{ {},
{1},
{0, 1./2} },
{ {},
{1},
{0, 1./4},
{0, 0, 2./3} } };
}
// namespace
ssp::pmax
constexpr size_t pmax
Definition:
runge_kutta_ssp.icc:26
ssp::alpha
Float alpha[][pmax+1][pmax+1]
Definition:
runge_kutta_ssp.icc:28
ssp::beta
Float beta[][pmax+1][pmax+1]
Definition:
runge_kutta_ssp.icc:40
Float
see the Float page for the full documentation
ssp
Definition:
runge_kutta_ssp.icc:25