Template Numerical Library version\ main:bdaf14e
Loading...
Searching...
No Matches
TNL::Solvers::ODE::Methods::KuttaMerson< Value > Struct Template Reference

Fourth order Runge-Kutta-Merson method with adaptive step size. More...

#include <TNL/Solvers/ODE/Methods/KuttaMerson.h>

Collaboration diagram for TNL::Solvers::ODE::Methods::KuttaMerson< Value >:

Public Types

using ValueType = Value

Static Public Member Functions

static constexpr ValueType getCoefficient (const std::size_t stage, const std::size_t i)
static constexpr ValueType getErrorCoefficient (std::size_t i)
static constexpr std::size_t getStages ()
static constexpr ValueType getTimeCoefficient (std::size_t i)
static constexpr ValueType getUpdateCoefficient (std::size_t i)
static constexpr bool isAdaptive ()

Static Protected Attributes

static constexpr std::size_t Stages = 5

Detailed Description

template<typename Value = double>
struct TNL::Solvers::ODE::Methods::KuttaMerson< Value >

Fourth order Runge-Kutta-Merson method with adaptive step size.

Template Parameters
Valueis arithmetic type used for computations.

The documentation for this struct was generated from the following file: