![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Implementation of 2D↔1D node coupling via orifice exchange. More...
#include "NodeCoupling.hpp"#include "../../core/SimulationContext.hpp"#include <cmath>#include <algorithm>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::twoD |
Functions | |
| std::vector< CouplingPoint > | openswmm::twoD::buildCouplingPoints (const MeshData &mesh, const SimulationContext &ctx) |
| Build the list of coupling points from mesh coupling maps. | |
| void | openswmm::twoD::computeCouplingExchange (const std::vector< CouplingPoint > &cps, const MeshData &mesh, SurfaceStateData &state, SimulationContext &ctx, const SolverOptions2D &opts, double dt) |
| Compute exchange flows at all coupling points and inject into forcing API. | |
| void | openswmm::twoD::updateOutfallBoundaries (const std::vector< CouplingPoint > &cps, const MeshData &mesh, const SurfaceStateData &state, SimulationContext &ctx) |
| Update outfall boundary depths from 2D surface heads. | |
| void | openswmm::twoD::transferOutfallDischarges (const std::vector< CouplingPoint > &cps, const MeshData &mesh, SurfaceStateData &state, const SimulationContext &ctx, double dt) |
| Transfer outfall discharges into 2D coupling cells. | |
Implementation of 2D↔1D node coupling via orifice exchange.