![]() |
APFEL 4.8.0
A PDF evolution library in C++
|
Go to the source code of this file.
Namespaces | |
namespace | apfel |
Namespace for all APFEL++ functions and classes. | |
Functions | |
Runge-Kutta (RK) ODE solvers. | |
These functions solve the ordinary differential equation (ODE): dy / dt = f(t,y) where: dy = rk4(f(t,y)) so differentiation between lower and upper: y += dy(t,y,dt) U is the type of the 'y' object. | |
template<class U > | |
std::function< U(double const &, U const &, double const &)> | apfel::rk4 (std::function< U(double const &t, U const &Obj)> const &f) |
Template function that implements the fourth order RK algorithm. | |
template<class U > | |
std::function< U(double const &, U const &, double const &)> | apfel::rk1 (std::function< U(double const &t, U const &Obj)> const &f) |
Template function that implements the first order RK algorithm. | |