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

#include <Inflow.hpp>

Collaboration diagram for openswmm::inflow::ExtInflowSoA:

Public Member Functions

void resize (int n)
 

Public Attributes

int count = 0
 
std::vector< int > node_idx
 Which node this inflow applies to.
 
std::vector< int > ts_idx
 Timeseries index (-1 = none)
 
std::vector< int > base_pat_idx
 Baseline pattern index (-1 = none)
 
std::vector< double > baseline
 Constant baseline value.
 
std::vector< double > scale_factor
 Timeseries scaling factor.
 
std::vector< double > conv_factor
 
std::vector< int > kind
 
std::vector< int > pollut_idx
 

Member Function Documentation

◆ resize()

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

Member Data Documentation

◆ base_pat_idx

std::vector<int> openswmm::inflow::ExtInflowSoA::base_pat_idx

Baseline pattern index (-1 = none)

◆ baseline

std::vector<double> openswmm::inflow::ExtInflowSoA::baseline

Constant baseline value.

◆ conv_factor

std::vector<double> openswmm::inflow::ExtInflowSoA::conv_factor

Units conversion factor

◆ count

int openswmm::inflow::ExtInflowSoA::count = 0

◆ kind

std::vector<int> openswmm::inflow::ExtInflowSoA::kind

Row kind (see ExtInflowKind). Without this every row — including pollutant rows — was added to the node's flow, injecting phantom water.

◆ node_idx

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

Which node this inflow applies to.

◆ pollut_idx

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

Pollutant index for CONCEN/MASS rows, SPECIES index for MSX_CONCEN / MSX_MASS rows; -1 for FLOW rows (and for a constituent name that matches no declared pollutant or species).

◆ scale_factor

std::vector<double> openswmm::inflow::ExtInflowSoA::scale_factor

Timeseries scaling factor.

◆ ts_idx

std::vector<int> openswmm::inflow::ExtInflowSoA::ts_idx

Timeseries index (-1 = none)


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