![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
#include <InfraData.hpp>
Public Member Functions | |
| int | count () const |
| int | add_row (int link_idx, int node_host_idx, int design_idx, int capture_node_idx) |
| Append a defaulted row; returns its index. | |
| void | erase_row (int idx) |
| int | find_by_link (int link_idx) const |
Row index of the usage hosted by conduit link_idx, or -1. | |
| int | find_by_node_host (int node_idx) const |
Row index of the usage hosted by inlet-junction node node_idx, or -1. | |
| void | resize_stats (int n) |
Public Attributes | |
| std::vector< int > | link_index |
| Host conduit link index (-1 for an inlet junction) | |
| std::vector< int > | node_host |
| Host inlet-junction node index (-1 for a conduit usage) | |
| std::vector< int > | design_index |
| Index into InletStore. | |
| std::vector< int > | node_index |
| Capture (receiving / underdrain) node index. | |
| std::vector< int > | num_inlets |
| Number of inlets per side. | |
| std::vector< int > | placement |
| 0=auto, 1=on_grade, 2=on_sag | |
| std::vector< double > | clog_factor |
| 1.0 - pctClogged/100 | |
| std::vector< double > | flow_limit |
| Max capture flow per inlet (user flow units), 0=unlimited. | |
| std::vector< double > | local_depress |
| Local gutter depression (user length units) | |
| std::vector< double > | local_width |
| Local depression width (user length units) | |
| std::vector< int > | street_index |
| std::vector< std::string > | pending_design_name |
| std::vector< std::string > | pending_capture_name |
| std::vector< double > | stat_capture_vol |
| Total captured volume (ft³) | |
| std::vector< double > | stat_bypass_vol |
| Total bypassed volume (ft³) | |
| std::vector< double > | stat_backflow_vol |
| Total backflow volume (ft³) | |
| std::vector< double > | stat_peak_flow |
| Peak captured flow (cfs) | |
One row per inlet placement. Two host kinds share the store:
|
inline |
Append a defaulted row; returns its index.
|
inline |
|
inline |
|
inline |
Row index of the usage hosted by conduit link_idx, or -1.
|
inline |
Row index of the usage hosted by inlet-junction node node_idx, or -1.
|
inline |
| std::vector<double> openswmm::InletUsageStore::clog_factor |
1.0 - pctClogged/100
| std::vector<int> openswmm::InletUsageStore::design_index |
Index into InletStore.
| std::vector<double> openswmm::InletUsageStore::flow_limit |
Max capture flow per inlet (user flow units), 0=unlimited.
| std::vector<int> openswmm::InletUsageStore::link_index |
Host conduit link index (-1 for an inlet junction)
| std::vector<double> openswmm::InletUsageStore::local_depress |
Local gutter depression (user length units)
| std::vector<double> openswmm::InletUsageStore::local_width |
Local depression width (user length units)
| std::vector<int> openswmm::InletUsageStore::node_host |
Host inlet-junction node index (-1 for a conduit usage)
| std::vector<int> openswmm::InletUsageStore::node_index |
Capture (receiving / underdrain) node index.
| std::vector<int> openswmm::InletUsageStore::num_inlets |
Number of inlets per side.
| std::vector<std::string> openswmm::InletUsageStore::pending_capture_name |
| std::vector<std::string> openswmm::InletUsageStore::pending_design_name |
Design / capture-node names of an [INLET_JUNCTIONS] row, kept until PostParseResolver turns them into design_index / node_index. Empty on a row whose references were already resolved at parse time.
| std::vector<int> openswmm::InletUsageStore::placement |
0=auto, 1=on_grade, 2=on_sag
| std::vector<double> openswmm::InletUsageStore::stat_backflow_vol |
Total backflow volume (ft³)
| std::vector<double> openswmm::InletUsageStore::stat_bypass_vol |
Total bypassed volume (ft³)
| std::vector<double> openswmm::InletUsageStore::stat_capture_vol |
Total captured volume (ft³)
| std::vector<double> openswmm::InletUsageStore::stat_peak_flow |
Peak captured flow (cfs)
| std::vector<int> openswmm::InletUsageStore::street_index |
Index into StreetStore, resolved by PostParseResolver (-1 if host xsect is not STREET)