Heidelberg Educational Numerics Library Version 0.27 (from 15 March 2021)
Classes | Functions
rungekutta.hh File Reference
#include "vector.hh"
#include "newton.hh"

Go to the source code of this file.

Classes

class  hdnum::ImplicitRungeKuttaStepProblem< M >
 Nonlinear problem we need to solve to do one step of an implicit Runge Kutta method. More...
 
class  hdnum::RungeKutta< M, S >
 classical Runge-Kutta method (order n with n stages) More...
 

Functions

template<class M , class S >
void hdnum::ordertest (const M &model, S solver, typename M::number_type T, typename M::number_type h_0, int l)
 Test convergence order of an ODE solver applied to a model problem.
 

Detailed Description

@general Runge-Kutta solver

Function Documentation

◆ ordertest()

template<class M , class S >
void hdnum::ordertest ( const M & model,
S solver,
typename M::number_type T,
typename M::number_type h_0,
int l )

Test convergence order of an ODE solver applied to a model problem.

Template Parameters
MType of model
SType of ODE solver
Parameters
modelModel problem
solverODE solver
TSolve to time T
dtRoughest time step size
lNumber of different time step sizes dt, dt/2, dt/4, ...