OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::inflow::DwfInflowSoA Struct Reference

#include <Inflow.hpp>

Collaboration diagram for openswmm::inflow::DwfInflowSoA:

Public Member Functions

void resize (int n)
 

Public Attributes

int count = 0
 
std::vector< int > node_idx
 Which node.
 
std::vector< double > avg_value
 Average DWF value.
 
std::vector< int > pat_monthly
 Monthly pattern index (-1 = none)
 
std::vector< int > pat_daily
 Daily pattern index (-1 = none)
 
std::vector< int > pat_hourly
 Hourly pattern index (-1 = none)
 
std::vector< int > pat_weekend
 
std::vector< uint8_t > is_flow
 
std::vector< int > pollut_idx
 Pollutant index for a non-FLOW row (-1 when FLOW or unmatched).
 
std::vector< int > msx_idx
 

Member Function Documentation

◆ resize()

void openswmm::inflow::DwfInflowSoA::resize ( int n)

Member Data Documentation

◆ avg_value

std::vector<double> openswmm::inflow::DwfInflowSoA::avg_value

Average DWF value.

◆ count

int openswmm::inflow::DwfInflowSoA::count = 0

◆ is_flow

std::vector<uint8_t> openswmm::inflow::DwfInflowSoA::is_flow

Constituent is FLOW (legacy TDwfInflow.param == -1). A pollutant DWF row is a CONCENTRATION — it must never be added as water (legacy addDryWeatherInflows reads only the FLOW row for the hydrograph).

◆ msx_idx

std::vector<int> openswmm::inflow::DwfInflowSoA::msx_idx

U2: reactions-species index for a row naming a species (-1 else). Its concentration rides the node's DWF flow into msx_ext_mass_in.

◆ node_idx

std::vector<int> openswmm::inflow::DwfInflowSoA::node_idx

Which node.

◆ pat_daily

std::vector<int> openswmm::inflow::DwfInflowSoA::pat_daily

Daily pattern index (-1 = none)

◆ pat_hourly

std::vector<int> openswmm::inflow::DwfInflowSoA::pat_hourly

Hourly pattern index (-1 = none)

◆ pat_monthly

std::vector<int> openswmm::inflow::DwfInflowSoA::pat_monthly

Monthly pattern index (-1 = none)

◆ pat_weekend

std::vector<int> openswmm::inflow::DwfInflowSoA::pat_weekend

Weekend pattern index (-1 = none)

◆ pollut_idx

std::vector<int> openswmm::inflow::DwfInflowSoA::pollut_idx

Pollutant index for a non-FLOW row (-1 when FLOW or unmatched).


The documentation for this struct was generated from the following files: