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

#include <LinkSubtypes.hpp>

Collaboration diagram for openswmm::PumpData:

Public Member Functions

int count () const noexcept
 
void clear () noexcept
 
void reserve (int n)
 
int add_default (int i)
 
void erase_at (int r)
 

Public Attributes

std::vector< int > link_idx
 
std::vector< int > curve
 Pump curve table index (-1 = ideal)
 
std::vector< uint8_t > init_state
 Initial on/off (was vector<bool>)
 
std::vector< double > startup
 Startup depth.
 
std::vector< double > shutoff
 Shutoff depth.
 
std::vector< int > curve_type
 Pump curve type (1-5, 6=ideal; -1 unset)
 

Member Function Documentation

◆ add_default()

int openswmm::PumpData::add_default ( int i)
inline

◆ clear()

void openswmm::PumpData::clear ( )
inlinenoexcept

◆ count()

int openswmm::PumpData::count ( ) const
inlinenoexcept

◆ erase_at()

void openswmm::PumpData::erase_at ( int r)
inline

◆ reserve()

void openswmm::PumpData::reserve ( int n)
inline

Member Data Documentation

◆ curve

std::vector<int> openswmm::PumpData::curve

Pump curve table index (-1 = ideal)

◆ curve_type

std::vector<int> openswmm::PumpData::curve_type

Pump curve type (1-5, 6=ideal; -1 unset)

◆ init_state

std::vector<uint8_t> openswmm::PumpData::init_state

Initial on/off (was vector<bool>)

◆ link_idx

std::vector<int> openswmm::PumpData::link_idx

◆ shutoff

std::vector<double> openswmm::PumpData::shutoff

Shutoff depth.

◆ startup

std::vector<double> openswmm::PumpData::startup

Startup depth.


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