Heidelberg Educational Numerics Library Version 0.27 (from 15 March 2021)
|
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. | |
@general Runge-Kutta solver
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.
M | Type of model |
S | Type of ODE solver |
model | Model problem |
solver | ODE solver |
T | Solve to time T |
dt | Roughest time step size |
l | Number of different time step sizes dt, dt/2, dt/4, ... |