![]() |
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>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::ode |
| namespace | openswmm::ode::detail |
Functions | |
| OdeWorkspace & | openswmm::ode::detail::workspace (int n) |
| Grow this thread's reusable solver arrays for n equations. | |
| int | openswmm::ode::integrate (double *y, int n, double x1, double x2, double eps, double h1, const DerivFunc &derivs) |
| Advance an ODE system with adaptive Cash-Karp RK45 steps. | |
| int | openswmm::ode::integrate_batch_2eq (double *y0, double *y1, int n_sys, double x1, double x2, double eps, double h1, const BatchDerivFunc &derivs) |
| Advance independent two-state systems with one explicit Euler step. | |
RK45 Cash-Karp ODE integrator — numerically identical to legacy.