![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
RK45 Cash-Karp ODE integrator — numerically identical to legacy. More...
#include "OdeSolver.hpp"#include <cmath>#include <cstdlib>#include <algorithm>#include <type_traits>#include <vector>Classes | |
| struct | openswmm::ode::OdeWorkspace |
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::ode |
Functions | |
| int | openswmm::ode::integrate (double *y, int n, double x1, double x2, double eps, double h1, const DerivFunc &derivs) |
| Integrate an ODE system from x1 to x2 using RK45 Cash-Karp. | |
| int | openswmm::ode::integrate_batch_2eq (double *y0, double *y1, int n_sys, double x1, double x2, double eps, double h1, const BatchDerivFunc &derivs) |
RK45 Cash-Karp ODE integrator — numerically identical to legacy.