![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
resolveExchangeStructure: a junction point's WEIR_ORIFICE law, structure and coefficients from [2D_NODE_COUPLING], presets and the global options. More...
#include "NodeCoupling.hpp"#include "../../core/SimulationContext.hpp"#include "../../core/UnitConversion.hpp"#include "../../hydraulics/Node.hpp"#include <algorithm>#include <cmath>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::twoD |
Functions | |
| void | openswmm::twoD::resolveExchangeStructure (CouplingPoint &cp, const MeshData &mesh, const SimulationContext &ctx, const SolverOptions2D &opts, int row, NodeCoupling2DType type, double project_len_to_m) |
| Resolve a junction point's exchange law, structure and coefficients from its node's [2D_NODE_COUPLING] row, the class preset and the global options (plans/1D2D_FINE_SCALE_COUPLING_PLAN §3.1, §3.4–3.5). | |
resolveExchangeStructure: a junction point's WEIR_ORIFICE law, structure and coefficients from [2D_NODE_COUPLING], presets and the global options.
Kept apart from NodeCoupling.cpp, which the standalone Kokkos alignment test compiles without the engine library: this needs the node storage curves (node::getSurfArea).