CMlib
Cell mapping algorithms in C++
cm::RK45< T, S > Class Template Reference

RK45 Scheme with adaptive step-size control Can be used on any system having member function f(y,t) More...

#include <rk45.h>

Public Member Functions

 RK45 (const S *systemPointer, double relativeTolerance)
 
step (const T &y0, const double t0, const double dt, const double h0)
 
step (const T &y0, const double t0, const double dt, const double h0, const size_t maxsteps)
 

Detailed Description

template<class T, class S>
class cm::RK45< T, S >

RK45 Scheme with adaptive step-size control Can be used on any system having member function f(y,t)

Constructor & Destructor Documentation

◆ RK45()

template<class T , class S >
cm::RK45< T, S >::RK45 ( const S *  systemPointer,
double  relativeTolerance 
)
inline

Member Function Documentation

◆ step() [1/2]

template<class T , class S >
T cm::RK45< T, S >::step ( const T &  y0,
const double  t0,
const double  dt,
const double  h0 
)
inline

◆ step() [2/2]

template<class T , class S >
T cm::RK45< T, S >::step ( const T &  y0,
const double  t0,
const double  dt,
const double  h0,
const size_t  maxsteps 
)
inline

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