![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Reaction kinetics integration over one reaction step (phase R3): EUL / RK5 (Cash–Karp) / ROS2 / BDF2 for RATE species, joint damped-Newton for EQUIL species, in-order FORMULA evaluation, rate-unit scaling. More...
Go to the source code of this file.
Classes | |
| struct | openswmm::transport::RxStepReport |
| class | openswmm::transport::RxWorkspace |
| class | openswmm::transport::ReactionIntegrator |
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::transport |
Reaction kinetics integration over one reaction step (phase R3): EUL / RK5 (Cash–Karp) / ROS2 / BDF2 for RATE species, joint damped-Newton for EQUIL species, in-order FORMULA evaluation, rate-unit scaling.
Semantics (MSX conventions, reactions plan §2/§3): per step of length dt on one element's local species block:
Hand-rolled per D-R7 (no CVODE/SUNDIALS): the workload is many tiny independent systems; BDF2 (D-R7 amendment) covers the practically stiff range with Newton + the same dense LU ROS2 uses. All scratch lives in a caller-owned workspace sized once — the step call is allocation-free (D-R3).