![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Per-virtual-junction momentum-residual accumulators. More...
#include <SimulationContext.hpp>
Public Member Functions | |
| void | clear () |
Public Attributes | |
| std::vector< int > | node_idx |
| virtual junction node index | |
| std::vector< int > | up_link |
| upstream conduit (through orientation, -1 sag/peak) | |
| std::vector< int > | dn_link |
| downstream conduit (-1 sag/peak) | |
| std::vector< double > | resid_max |
| max |R_j| over the run (cfs·ft/s) | |
| std::vector< double > | resid_sum |
| Σ|R_j| for mean reporting. | |
| std::vector< long long > | resid_n |
| number of accumulated steps | |
Per-virtual-junction momentum-residual accumulators.
Populated by DWSolver after each converged routing step; the residual is the discrete momentum-flux imbalance across the pair interface (see VIRTUAL_JUNCTION_IMPLEMENTATION_PLAN.md §3.2). Reported in the .rpt Virtual Junction Summary.
|
inline |
| std::vector<int> openswmm::SimulationContext::VJDiag::dn_link |
downstream conduit (-1 sag/peak)
| std::vector<int> openswmm::SimulationContext::VJDiag::node_idx |
virtual junction node index
| std::vector<double> openswmm::SimulationContext::VJDiag::resid_max |
max |R_j| over the run (cfs·ft/s)
| std::vector<long long> openswmm::SimulationContext::VJDiag::resid_n |
number of accumulated steps
| std::vector<double> openswmm::SimulationContext::VJDiag::resid_sum |
Σ|R_j| for mean reporting.
| std::vector<int> openswmm::SimulationContext::VJDiag::up_link |
upstream conduit (through orientation, -1 sag/peak)