Loading...
Searching...
No Matches
#include "ode/ode.hpp"
#include <algorithm>
#include <cmath>
Go to the source code of this file.
|
| ODEResult | num::ode_euler (ODERhsFn f, Vector y0, real t0, real t1, real h, StepCallback on_step=nullptr) |
| |
| ODEResult | num::ode_rk4 (ODERhsFn f, Vector y0, real t0, real t1, real h, StepCallback on_step=nullptr) |
| | Classic 4th-order Runge-Kutta (fixed step).
|
| |
| ODEResult | num::ode_rk45 (ODERhsFn f, Vector y0, real t0, real t1, real rtol=1e-6, real atol=1e-9, real h0=1e-3, idx max_steps=1000000, StepCallback on_step=nullptr) |
| |
| SymplecticResult | num::ode_verlet (AccelFn accel, Vector q0, Vector v0, real t0, real t1, real h, SymplecticCallback on_step=nullptr) |
| |
| SymplecticResult | num::ode_yoshida4 (AccelFn accel, Vector q0, Vector v0, real t0, real t1, real h, SymplecticCallback on_step=nullptr) |
| |